Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 21 Nov 2001 09:17:02 -0600 (CST) From: To: Subject: supporting pthreads on cygwin Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/