This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Port of mit-pthreads to Cygwin32


Tim Taylor wrote:
> 
> I'm trying to port MySQL 3.21.33B (http://www.tcx.se/) to cygwin32.  This
> application uses a user-level theads package called mit-pthreads.  Because
> of the nature of the threads package, there are portions that are
> platform/OS specific. I'm wondering if anyone has ported this threading
> package to work with cygwin32 and could save me some time by sharing the
> fruits of their labors.

Welcome abord. I have been working for several months (with more or less
activity) on the cygwin32 port of the mysql database engine. You may
join our Cygwin Porting Project (see url below) if you are interested in
contributing and developing on the cygwin ports, it would be a pleasure.

Now about the mysql port itself. As you said it uses the mit-pthread
package which is OS specific and is defenetly NOT supported for cygwin,
since cygwin is NOT thread safe. So propably you can forget about
porting the mit-pthread package to cygin at all. There is a pthread32
package somewhere on

	ftp://sourceware.cygnus.com

I don't know the correct position but it is somewhere there. Unfortunaty
the pthread32 is a very early development step and compiles on cygwin,
but there are undefined references when linking the example
applications. I'm still in contact with the developers to solve the
undefined references.

The mysql 3.22.10b clients have been ported using cygwin b20 and are
released as binaries on the official TcX site.

Out main aim (hopefully you are interested in contributing) is to write
hopefully small size wrapper functions for the pthread calls, yet not
started with.

PS: There are currently two other porting efforts for relational
database engines to cygwin. Here the urls, check them out if you are
interested.

	mSQL for cygwin32 - http://blnet.com/msqlpc/
	PostgreSQL for cygwin32 - http://www.askesis.nl/

Regards,
Stipe

-- 
Stipe Tolj <tolj@uni-duesseldorf.de>
Cygwin Porting Project
Department of Economical Computer Science        
University of Cologne, Germany                  
http://www-public.rz.uni-duesseldorf.de/~tolj


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]