mirror of https://github.com/GNOME/gimp.git
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
This commit is contained in:
parent
2f7b84ae4d
commit
14560bb94c
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue