X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FScenery%2FFGTileLoader.hxx;h=5d7d984928c7a9483571ce428d3f5ba4ab1fc450;hb=8dcf08c965ee6386f6fa1a0d8871906fa7faf989;hp=f8d1ba03ba420eae160a98dd9545d66eecd23a98;hpb=2afcbb4bc815e02f8b0c2e42f0047387b6bddb49;p=flightgear.git diff --git a/src/Scenery/FGTileLoader.hxx b/src/Scenery/FGTileLoader.hxx index f8d1ba03b..5d7d98492 100644 --- a/src/Scenery/FGTileLoader.hxx +++ b/src/Scenery/FGTileLoader.hxx @@ -32,8 +32,10 @@ # include #else # include + SG_USING_STD( queue ); #endif + // Forward reference. class FGTileEntry; @@ -54,6 +56,15 @@ public: */ ~FGTileLoader(); +#if 0 // we don't ever want to do this I don't think + /** + * Flush anything in pending load queue without doing the work + * Leave the free queue intact since that's are only record of + * things we need to remove. + */ + void reinit(); +#endif + /** * Add a tile to the end of the load queue. * @param tile The tile to be loaded from disk. @@ -144,7 +155,7 @@ private: * Lock and synchronize access to tile queue. */ SGMutex mutex; - SGCondition frame_cond; + SGPthreadCond frame_cond; /** * Thread cleanup handler.