xthreads
- Posted by Darth Maul aka Matt <uglyfish87 at HOTMAIL.COM> Jan 15, 2001
- 440 views
------=_NextPart_000_006F_01C07F33.0C177F20 boundary="----=_NextPart_001_0070_01C07F33.0C177F20" ------=_NextPart_001_0070_01C07F33.0C177F20 charset="iso-8859-1" Hi, I'm trying to write a cross-platform threads library. So far, I've = only got one function coded for Linux. Here's my problem...when I try to create a thread, I get this error: Segmentation fault(core dumped) For some reason, gdb can't read the 'core' file...I've attached what = I've coded so far. ------=_NextPart_001_0070_01C07F33.0C177F20 charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV> <DIV><FONT face=3DArial size=3D2> I'm trying to write a = cross-platform threads=20 library. So far, I've only got one function coded for Linux. Here's my=20 problem...when I</FONT></DIV> <DIV><FONT face=3DArial size=3D2>try to create a thread, I get this=20 error:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Segmentation fault(core = dumped)</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>For some reason, gdb can't read the = 'core'=20 ------=_NextPart_001_0070_01C07F33.0C177F20-- ------=_NextPart_000_006F_01C07F33.0C177F20 name="xthreads.tar.Z"