This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linux pthreads and Guile COOP threads



The LinuxThreads implementation of pthreads is completely wedded to
the identification of stacks with threads.  Each thread (except the
initial one) gets a block of stack aligned so that, if you round up
your stack pointer, you'll get a pointer to the thread's structure.

I don't think you can mix COOP threads and LinuxThreads unless you
can arrange to switch back to the main stack every time a LinuxThreads
function might be called.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]