Mail Archives: djgpp/1999/01/05/01:28:53
Has anyone gotten any multi-threading library to work with v2.02? I have
been trying to get LWP to work for a couple days now, and it still doesn't.
First, when using pre-emptive multithreading, the scheduler seems to never
get run. It is called by calling __djgpp_hw_exception, which is called in
the int8 hardware handler, and installing the scheduler as the SIGILL
handler. Second, when co-op multithreading, the thread doesn't call the
_deadyield function correctly, creating a SIGABRT (the registers get screwed
up on the ret at the end of the thread's function). However I was able to
conquer a memory freeing problem, which was trying to free the thread's
stack pointer, and not the thread's stack base-address (returned by the
malloc call). Can anyone help?
-Brian
"All in all you were all just bricks in the wall" Pink Floyd - The Wall
----------------------------------------------------------------------------
-------------------------------
Brian Bacon - kyberteknik AT geocities DOT com
ICQ: 3218637
http://trr.home.ml.org/
GCS d- p- c++++ l- u e* m++(+++/---)@ s+/- n---@ h-- f+ g+ w++ t+ r x?
- Raw text -