This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: NT Threads
- To: ekratzer@systranfederal.com, cygwin@sourceware.cygnus.com
- Subject: Re: NT Threads
- From: "Emanuele ALIBERTI" <ealiberti@hotmail.com>
- Date: Thu, 15 Jul 1999 15:52:42 PDT
>Does anybody know of any functions in Windows NT that
>are
>comparable to the following unix-based functions:
>
>pthread_detach()
>thr_join()
>thr_yield() [besides the NT sleep(0) function] ?
Win32 has these functions for kernel- and user- threads (user threads are
called "fibers" and are not preempted by the scheduler, since they live in a
kernel thread; they are much like coroutines):
ConvertThreadToFiber
CreateFiber
CreateRemoteThread
CreateThread
DeleteFiber
DisableThreadLibraryCalls
ExitThread
FreeLibraryAndExitThread
GetCurrentThread
GetCurrentThreadId
GetExitCodeThread
GetThreadContext
GetThreadLocale
GetThreadPriority
GetThreadPriorityBoost
GetThreadSelectorEntry
GetThreadTimes
ResumeThread
SetThreadAffinityMask
SetThreadContext
SetThreadIdealProcessor
SetThreadLocale
SetThreadPriority
SetThreadPriorityBoost
SuspendThread
SwitchToFiber
SwitchToThread
TerminateThread
I hope among them you can find those with matching semantics.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com