I find the pthread source for
cygwin? is it pthread-win32? Thanks ..
I want to look into it.
2008/12/24 陈晓晖 :
> Hi,
>
>I found that pthread may stop work if using printf in thread.
> I'm not sure that printf is thread safe or not, so I tried to wrap the
> printf with a mutex
Hi,
I found that pthread may stop work if using printf in thread.
I'm not sure that printf is thread safe or not, so I tried to wrap the
printf with a mutex, but the problem still exists.
After I removed all printfs, everything is OK.
The testing environment:
$ uname -a
CYGWIN_NT-5.1 compname
2 matches
Mail list logo