delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/15/18:56:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990715225244.39089.qmail@hotmail.com>
X-Originating-IP: [212.52.67.147]
From: "Emanuele ALIBERTI" <ealiberti AT hotmail DOT com>
To: ekratzer AT systranfederal DOT com, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: NT Threads
Date: Thu, 15 Jul 1999 15:52:42 PDT
Mime-Version: 1.0

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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019