This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Where is GetCurrentFiber?
- To: <cygwin at cygwin dot com>
- Subject: Where is GetCurrentFiber?
- From: "Kurt Schwartz" <kurt at whdl dot com>
- Date: Wed, 18 Apr 2001 23:11:57 -0700
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