imacarthur wrote:
> There are "emulations" of pthreads that run on win32 ..
> However - I wouldn't bother [with pthreads on win32].. the MS
> "_beginthread(...)"
> ..and.. "pthread_create(...)" are similar enough..
Yes, "me too"..
In my multiplatform apps, I made the decision to use an #ifdef
to resolve threading, using pthreads for unix code, and the win32
CreateThread() for Windows, which is very easy to use and works fine.
(More than I can say about a lot of other WIN32 API functions..!)
I hadn't heard of _beginthread().. interesting. Docs here:
http://msdn.microsoft.com/en-us/library/kdzttdcb(VS.80).aspx
Note the docs for _beginthread() are recommending
to use the safer "_beginthreadex()" which is apparently
(trying not to giggle) a 'thread safe' version of that call.. %^D
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk