[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Coroutines / Threads
Hallo!
> Just a query, before I think about re-inventing any wheels. Is there some
> work that has been done on implementing Oakwood Coroutines or a Threads
> module for OO2C? How far from re-entrant does the library appear to be at
> this point?
I have ported enough of the pthreads header of my Redhat Linux to get a
minimal "al threads do cnsole output at the same time" program up and
running. However since I had no need for threads and since it was not
clear how threads would interact with the gc I did not move on. I can
send you the PThreads.Mod if you like.
The library does not directly support threads. It is up to the user
using mutex ans semaphores to protect the library. Perhaps there are
also some global variables, making problems using multiple
tasks/threads.
--
Gru...
Tim.