#if defined(ENABLE_THREADS)
+/**
+ * Ensure mutex is unlocked.
+ */
+void
+metar_cleanup_handler( void* arg )
+{
+ FGMetarEnvironmentCtrl* fetcher = (FGMetarEnvironmentCtrl*) arg;
+ fetcher->mutex.unlock();
+}
+
/**
*
*/
}
pthread_cleanup_pop(1);
}
-
-/**
- * Ensure mutex is unlocked.
- */
-void
-metar_cleanup_handler( void* arg )
-{
- FGMetarEnvironmentCtrl* fetcher = (FGMetarEnvironmentCtrl*) arg;
- fetcher->mutex.unlock();
-}
#endif // ENABLE_THREADS
void update_metar_properties( const FGMetar *m );
- void FGClouds::update_env_config ();
+ void update_env_config ();
int update_event;
SGSoundSample *snd_lightning;
#if defined(ENABLE_THREADS)
+/**
+ * Ensure mutex is unlocked.
+ */
+void
+cleanup_handler( void* arg )
+{
+ FGTileLoader* loader = (FGTileLoader*) arg;
+ loader->mutex.unlock();
+}
+
/**
*
*/
}
pthread_cleanup_pop(1);
}
-
-/**
- * Ensure mutex is unlocked.
- */
-void
-cleanup_handler( void* arg )
-{
- FGTileLoader* loader = (FGTileLoader*) arg;
- loader->mutex.unlock();
-}
#endif // ENABLE_THREADS
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,