John Ellson:
Changes require to compile with a Fedora-Core Development system running on an X86_64 platform with gcc-4.1.0.
This commit is contained in:
parent
4be621fbe9
commit
880a43bdbf
4 changed files with 22 additions and 22 deletions
|
@ -703,6 +703,16 @@ FGMetarEnvironmentCtrl::update_metar_properties( const FGMetar *m )
|
|||
|
||||
|
||||
#if defined(ENABLE_THREADS)
|
||||
/**
|
||||
* Ensure mutex is unlocked.
|
||||
*/
|
||||
void
|
||||
metar_cleanup_handler( void* arg )
|
||||
{
|
||||
FGMetarEnvironmentCtrl* fetcher = (FGMetarEnvironmentCtrl*) arg;
|
||||
fetcher->mutex.unlock();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
@ -724,16 +734,6 @@ FGMetarEnvironmentCtrl::MetarThread::run()
|
|||
}
|
||||
pthread_cleanup_pop(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure mutex is unlocked.
|
||||
*/
|
||||
void
|
||||
metar_cleanup_handler( void* arg )
|
||||
{
|
||||
FGMetarEnvironmentCtrl* fetcher = (FGMetarEnvironmentCtrl*) arg;
|
||||
fetcher->mutex.unlock();
|
||||
}
|
||||
#endif // ENABLE_THREADS
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ private:
|
|||
|
||||
void update_metar_properties( const FGMetar *m );
|
||||
|
||||
void FGClouds::update_env_config ();
|
||||
void update_env_config ();
|
||||
|
||||
int update_event;
|
||||
SGSoundSample *snd_lightning;
|
||||
|
|
|
@ -156,6 +156,16 @@ FGTileLoader::update()
|
|||
|
||||
|
||||
#if defined(ENABLE_THREADS)
|
||||
/**
|
||||
* Ensure mutex is unlocked.
|
||||
*/
|
||||
void
|
||||
cleanup_handler( void* arg )
|
||||
{
|
||||
FGTileLoader* loader = (FGTileLoader*) arg;
|
||||
loader->mutex.unlock();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
@ -192,14 +202,4 @@ FGTileLoader::LoaderThread::run()
|
|||
}
|
||||
pthread_cleanup_pop(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure mutex is unlocked.
|
||||
*/
|
||||
void
|
||||
cleanup_handler( void* arg )
|
||||
{
|
||||
FGTileLoader* loader = (FGTileLoader*) arg;
|
||||
loader->mutex.unlock();
|
||||
}
|
||||
#endif // ENABLE_THREADS
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
FGScheduledFlight();
|
||||
FGScheduledFlight(const FGScheduledFlight &other);
|
||||
// FGScheduledFlight(const string);
|
||||
FGScheduledFlight::FGScheduledFlight(const string& cs,
|
||||
FGScheduledFlight(const string& cs,
|
||||
const string& fr,
|
||||
const string& depPrt,
|
||||
const string& arrPrt,
|
||||
|
|
Loading…
Add table
Reference in a new issue