Hello,
I have just took a look at this Protothreads library to do
coroutines:
http://dunkels.com/adam/pt/
But i have noticed that my library that i have provided
you with is much more powerful, and my semaphore
and mutex for my Object oriented coroutines library
are much more powerful.
I have just changed a little bit the examples inside
the zip file and i have made my library also compatible with
Delphi 7 to Delphi 2007.
And the documentation for my mutex and semaphore is inside the
Threads.pas and Threads64.pas units.
My library was also ported to 32 bit and 64 bit Delphi and FreePascal
compilers.
and my library works on Windows, Linux and Mac OS X (x86)
You can download this object oriented Stackful coroutines library for
Delphi and FreePascal from:
https://sites.google.com/site/aminer68/object-oriented-stackful-coroutines-library-for-delphi-and-freepascal
Thank you,
Amine Moulay Ramdane.