linux threads and fclose lock problem

2001-08-28 Thread Jeff Fellin
The following test program hangs on current from 8/20/2001. The program hangs in the fprintf to the function testThread(), instead of running to completion. If the call in main to fclose() of an unrelated file descriptor is removed the program runs to completion. From tracing code, it appears

Re: linux threads and fclose lock problem

2001-08-28 Thread Tor . Egge
The following test program hangs on current from 8/20/2001. The program hangs in the fprintf to the function testThread(), instead of running to completion. If the call in main to fclose() of an unrelated file descriptor is removed the program runs to completion. From tracing code, it