This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: Cygwin for windows to linux migration


----- Original Message -----
From: "Stephen Perry" <perry@hks.com>


> Other than templates, if you change all win32 calls to POSIX calls you
> should be good to go.  Including thread calls.  Does cygwin support
pthreads
> on windows?  That would be very cool, for porting purposes.

Yes, nearly complete implementation (only one key feature - cancellation
points - missing)... Oh signals per thread needs a little work.

Apparently the code is pretty fast :}. (Another project, an IBM
mainframe emulator bench tested cygwin threads vs Native threads vs
libpthread-win32 (another pthreads-on-win32 library, but unable to be as
complete as cygwin (can't assume a unix environment)), and native
threads where (of course) fastest, but we came out even with
libpthread-win32, and that was before some major speed enhancements.

Rob


--
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/


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