[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Coroutines / Threads



> -----Original Message-----
> From: Mike Griebling [mailto:grieblm@trt.allied.com]
> Sent: Thursday, December 17, 1998 12:23 PM
> To: whig@by.net
> Cc: ooc-list@informatik.uni-kl.de
> Subject: Re: Coroutines / Threads
>
> BTW, I have a vested interested in the threadability of OOC since I
> am using it on the BeOS, which has OS-supported threads.

Yes, I use Linux on a Dual Processor PII system, so it would be nice for me
as well....  :)

I think what I will attempt as a first pass is to implement Oakwood
Coroutines using a call out to pthread_create, but implement a global
spinlock mutex to prevent more than one simultaneous thread from executing
at a time.  Should be simple to implement and reasonably portable.  Sound
ok?