This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

supporting pthreads on cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]