| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-Id: | <4.3.2.7.2.20010305213208.00d20c80@198.107.4.166> |
| X-Sender: | kurt AT 198 DOT 107 DOT 4 DOT 166 |
| X-Mailer: | QUALCOMM Windows Eudora Version 4.3.2 |
| Date: | Mon, 05 Mar 2001 21:37:42 -0800 |
| To: | cygwin AT cygwin DOT com |
| From: | Kurt Schwartz <kurt AT whdl DOT com> |
| Subject: | Where is GetCurrentFiber? |
| Mime-Version: | 1.0 |
There is a function declaration in the cygwin headers for GetCurrentFiber,
but there is no symbol in any library file, and I get unresolved link
errors when using this function.
In the VC++ header, this function is an inline assembly function:
_inline PVOID GetCurrentFiber( void ) { __asm mov eax, fs:[0x10] }
Also, the same problem exists with GetFiberData, defined in MSVC as
_inline PVOID GetFiberData( void ) { __asm {
mov eax, fs:[0x10]
mov eax,[eax]
}
}
Now, I know gcc uses a different asm syntax, but I have no clue how to
write the above functions legally for gcc.
Did these functions slip through the cracks??
-Kurt
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |