supporting pthreads on cygwin

ognen@gene.pbi.nrc.ca ognen@gene.pbi.nrc.ca
Wed Nov 14 12:22:00 GMT 2001


Hello,

I have a pthreads based application that compiles on several unix
platforms and I would like it to be able to compile under cygwin. I fixed
it up so that gcc doesnt complain, however, when I start the app with two
or more threads it sometimes stalls and sometimes works fine. The app
initiates a pool of threads where each thread works on its own queue of
requests. In order to start up the threads I use pthread_cond_wait and
pthread_cond_signal. I am sorry that I havent been on par with the pace of
cygwin development so I dont know if these functions are supported or not?
Are there any implementation issues with them? If so, I wouldnt mind
reworking the code so that it can go on about its business properly under
cygwin. The app is a threaded version of a widely used bioinformatics tool
and it wouldnt be bad if it could work under Windows/cygwin, just for the
sake of it...

Ognen



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list