Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs Date: Mon, 7 Apr 2003 16:07:19 +0200 (CEST) From: Ronald Landheer-Cieslak X-X-Sender: ronald AT localhost DOT localdomain To: Ignasi Villagrasa cc: cygwin AT cygwin DOT com Subject: Re: Multi-threaded programs In-Reply-To: <3E918F68.9090802@netcom.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hello Ignasi, The answers to all these questions really depends on what you want to do, exactly: do you want to build a native Windows application with a free compiler, without every using any POSIX functions? If that is the case, you don't need Cygwin (the DLL) and you should use the no-cygwin options. If you want to use Cygwin as a first step towards POSIX portability, you should use the Cygwin DLL and the proper POSIX functions, such as pthreads. You can then start taking out the Windows API calls and use the POSIX calls in stead. Of course, because Cygwin is just a DLL in a Windows environment, you'll still be running in the Win32 subsystem and you'll still have access to its features - but you can do this as a step toward a real POSIX system.. HTH rlc On Mon, 7 Apr 2003, Ignasi Villagrasa wrote: > Hi eveyone, > > I'd like to know what options I should use in order to migrate a > multi-threaded Windows application from Watcom compiler to cygwin. > > Should I use cygwin or no-cygwin options ? > > I'm thinking of no-cygwin option because the program is running properly > under Watcom C++ compiler using windows native implementation. > > Should I use cygwin pthread implementation or native thread NT functions ? > > Thanks in advance, > > Ignasi Villagrasa. > > > > > > -- > 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/ > -- 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/