Delivered-To: listarch-cygwin@sourceware.cygnus.com
Message-ID: <36B5871E.1D1E3C38@uni-duesseldorf.de>
Date: Mon, 01 Feb 1999 11:51:10 +0100
From: Stipe Tolj <tolj@uni-duesseldorf.de>
Organization: Department of Economical Computer Science, University of Cologne, 
              Germany
X-Mailer: Mozilla 4.05 [de]C-NECCK (Win95; I)
MIME-Version: 1.0
To: Vasiliy <waso@nstu.ru>
CC: Alex <alexl@i-france.com>, gnu-win32 mailing list <gnu-win32@cygnus.com>
Subject: Re: multithread programming
References: <36B2ED48.3A763ADF@i-france.com> <36B473CD.616A8732@uni-duesseldorf.de> <36B570CC.FF960F57@nstu.ru>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-gnu-win32@cygnus.com

> >
> > unfortunatly Cygwin b19 (and b20) are _not_ multithread safe. Therefore the
> > posix thread pthread package from MIT won't work.
>
> Does it mean that it is impossible to port multithreaded application from Unix
> to Win32    ???

of course it _is_ possible if you consider to write pthread wrappers that take out
the multithreading ability of the application.

As you may know, Win9x shouldn't be considererd thread-safe at all, therefore how
could Cygwin fix that if it is a sub-system of the os. I just wanted to say, that
you can't compare Linux or Solaris (or what real UNIX ever) to Cygwin for
multithreading abilities.

I tried to port the MySQL database engine which uses the MIT's pthreads. And I got
stuck into deep trouble with the need of that pthread functions.

Maybe an upcoming release of Cygwin will be supporting the pthread packages in
some way.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany




-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

