delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
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: | <ognen AT gene DOT pbi DOT nrc DOT ca> |
To: | <cygwin AT cygwin DOT com> |
Subject: | supporting pthreads on cygwin |
Message-ID: | <Pine.LNX.4.30.0111202012040.2544-100000@gene.pbi.nrc.ca> |
MIME-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |