Commit 14560bb9 authored by EDT 1998 Adrian Likins's avatar EDT 1998 Adrian Likins Committed by Adrian Likins
Browse files

fix from Scott Goehring for a thread deadlock

Sun Jun 28 00:23:52 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/tile.c : fix from Scott Goehring for a thread deadlock

-adrian
parent 2f7b84ae
Sun Jun 28 00:23:52 EDT 1998 Adrian Likins <adrian@gimp.org>
* app/tile.c : fix from Scott Goehring for a thread deadlock
Fri Jun 26 17:22:00 PDT 1998 Manish Singh <yosh@gimp.org>
* libgimp/gimp.[ch]
......
......@@ -69,11 +69,14 @@ tile_ref (Tile *tile)
/* Call 'tile_manager_validate' if the tile was invalid.
*/
if (!tile->valid)
tile_manager_validate ((TileManager*) tile->tm, tile);
#if USE_PTHREADS
pthread_mutex_unlock(&(tile->mutex));
#endif
if (!tile->valid)
tile_manager_validate ((TileManager*) tile->tm, tile);
}
void
......
......@@ -69,11 +69,14 @@ tile_ref (Tile *tile)
/* Call 'tile_manager_validate' if the tile was invalid.
*/
if (!tile->valid)
tile_manager_validate ((TileManager*) tile->tm, tile);
#if USE_PTHREADS
pthread_mutex_unlock(&(tile->mutex));
#endif
if (!tile->valid)
tile_manager_validate ((TileManager*) tile->tm, tile);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment