Mail Archives: cygwin-developers/1998/06/22/09:23:19
Christopher Faylor wrote:
> If you just get rid of the WSACleanup and only use the close_all_files() in
> do_exit (), does it still hang?
Yes it hang, because the main thread will switch into the new context only when blocking call will terminate.
>
> If so, and the close_all_files has to be executed in the context of the
> signal thread, then, I think the patch below is better. It is a minor
> change to avoid closing all of the files again.
>
It's not neccessary (the second close_all_files() does nothing), but let it be :-)
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
- Raw text -