~jtaylor/ubuntu/oneiric/flightgear/fix-749249

« back to all changes in this revision

Viewing changes to src/Scenery/FGTileLoader.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2006-04-22 12:39:58 UTC
  • Revision ID: james.westby@ubuntu.com-20060422123958-aqxw93l0bbo6747d
Tags: 0.9.9-2ubuntu1
build depend on libgl{,u}1-mesa-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
 
158
158
#if defined(ENABLE_THREADS) && ENABLE_THREADS
159
159
/**
 
160
 * Ensure mutex is unlocked.
 
161
 */
 
162
void 
 
163
cleanup_handler( void* arg )
 
164
{
 
165
    FGTileLoader* loader = (FGTileLoader*) arg;
 
166
    loader->mutex.unlock();
 
167
}
 
168
 
 
169
/**
160
170
 * 
161
171
 */
162
172
void
192
202
    }
193
203
    pthread_cleanup_pop(1);
194
204
}
195
 
 
196
 
/**
197
 
 * Ensure mutex is unlocked.
198
 
 */
199
 
void 
200
 
cleanup_handler( void* arg )
201
 
{
202
 
    FGTileLoader* loader = (FGTileLoader*) arg;
203
 
    loader->mutex.unlock();
204
 
}
205
205
#endif // ENABLE_THREADS