That is some interesting stuff. Did you see some of the other projects that this guy has done? Pretty cool.
-Donald "Aaron Ardiri" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Anyways, the source is distributed using an "open source BSD-style" license, in ANSI C, > without any assumptions made of the underlying system. I haven't made any attempt > to understand it, but I don't need to use threads either. this is quite interesting stuff.. i did notice one thing that may restrict its usage - but, knowing how this works internally could be quite an interesting topic. http://www.sics.se/~adam/pt/about.html --- "The standard C implementation requires only two bytes of state per protothread and utilizes the C switch() statement in a non-obvious way that is similar to Duff's device and heavily inspired from Simon Tatham's Coroutines in C. This implementation does, however, impose a slight restriction to the code that uses protothreads in that the code cannot use switch() statements itself." --- i might download this for curiosity sake - could be interesting to actually find a real use for it tho. it could solve a lot of small UI issues some users have - but, wouldn't provide true theading at an OS level. -- // Aaron Ardiri -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
