/**
* FIFO queue which holds a pointer to the fetched metar data.
*/
- SGBlockingQueue < FGMetarResult > result_queue;
+ SGLockedQueue < FGMetarResult > result_queue;
#else
/**
* FIFO queue which holds a pointer to the fetched metar data.
*/
MetarThread* thread;
- /**
- * Lock and synchronize access to metar queue.
- */
- SGMutex mutex;
- SGPthreadCond metar_cond;
-
- /**
- * Thread cleanup handler.
- */
- friend void metar_cleanup_handler( void* );
-
+ void thread_stop();
#endif // ENABLE_THREADS
int _error_count;