Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Kurt Schwartz" To: Subject: Where is GetCurrentFiber? Date: Wed, 18 Apr 2001 23:11:57 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 I can find the declaration for this Win32 API function in /usr/include/w32api/winnt.h, but I cannot find the implementation in any library file. The other fiber calls are in /usr/lib/libkernel32.a In the Visual Studio header file WINNT.H, this function is defined as: _inline PVOID GetCurrentFiber( void ) { __asm mov eax, fs:[0x10] } This uses Visual C++ specific assembler syntax. However, in /usr/lib/w32api/winnt.h it is defined as: PVOID GetCurrentFiber(void); Here it is not inlined, so it should appear in a library somewhere, right?? Was this function (Also GetFiberData) just overlooked?? How can I write the above inlined function in a gcc-compatible way? Thanks for any help, Kurt Schwartz Willamette HDL, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple