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 From: Chris Faylor Date: Tue, 29 Aug 2000 11:44:29 -0400 To: cygwin AT sources DOT redhat DOT com Subject: Re: pthreads ? Message-ID: <20000829114429.A18444@cygnus.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: cygwin AT sources DOT redhat DOT com References: <39AAA615 DOT 7B66DA75 AT telesoft DOT com> <20000828135657 DOT A684 AT cygnus DOT com> <39AAA869 DOT A66893DA AT telesoft DOT com> <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20000828133606 DOT 0336c580 AT mail DOT prefres DOT com> <20000828145148 DOT A1288 AT cygnus DOT com> <39AB2D23 DOT 38CCF649 AT zygate DOT com DOT tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <39AB2D23.38CCF649@zygate.com.tw>; from shiu@zygate.com.tw on Tue, Aug 29, 2000 at 11:25:23AM +0800 On Tue, Aug 29, 2000 at 11:25:23AM +0800, Jim Shiu wrote: >Following some early post(s) in this newsgroup or somewhere else, >I once installed pthreads-win32 under cygwin in the following way > - copy pthread.lib to /usr/local/lib/libpthread.a > copy pthread.dll to /usr/local/bin > copy pthread.h to /usr/local/include > >However, after some un-install, re-install and so on, gcc does not >use header files in /usr/local/include if I do not put >-I/usr/local/include in >the makefile. So now I install pthreads-win32 by > - copy pthread.lib to /usr/local/lib/libpthread.a > copy pthread.dll to /usr/local/bin > rename /usr/include/pthread.h to pthread-old.h > copy pthread.h to /usr/include > >I have used pthread_cancel(), pthread_create(), >pthread_mutex_lock(), pthread_mutex_unlock(), >pthread_cond_signal() and pthread_cond_timedwait() >in my programs and they seem to work fine. I doubt that any signal-related functions will work, however. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com