14 Nov
2008
14 Nov
'08
10:27 p.m.
Hello, the "native" thread API for cygwin is pthreads, the threading API we currently use for MinGW is not available for it (my fault for not checking), and the one we used before to the best of my knowledge would have memleaks on cygwin, too. Thus I propose attached patch which uses pthread_create etc. It depends on the PTHREAD_CACHE define so it will be easy to activate on other systems, too (I tested it on Linux, someone on -users tested it for cygwin), but for now will only be used on Cygwin. Any objections to it? Greetings, Reimar Döffinger