Mail Archives: cygwin/1999/07/15/18:56:43
>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 AT sourceware DOT cygnus DOT com
- Raw text -