Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Stackful coroutines library

14 views
Skip to first unread message

Ramine

unread,
Aug 2, 2016, 11:39:39 AM8/2/16
to
Hello...

Stackful coroutines library for Delphi and FreePascal,
you can port it to C++.


Description:

This library to do Stackful Coroutines was ported to the 32 bit
FreePascal and to 64 bit Delphi compilers and enhanced with a semaphore
and a mutex by Amine Moulay Ramdane.

Because threads alone are expensive on windows because each thread uses
one Megabytes of stack, so you can use this library with my Threadpool
engine that scales well to be able to serve a great number of internet
connections or TCP/IP socket connections, and of course you can do with
it many other things such us simulations etc.

Use the threads.pas unit for 32 bit compilers, and use threads64.pas
unit for 64 bit compilers.

Main features:

Very small RAM overhead and provides semaphore and mutex.
You can download this library from:

https://sites.google.com/site/aminer68/stackful-coroutines-library-for-delphi-and-freepascal

Look at the defines.inc include file, you can configure it like this:

{$DEFINE XE} for Delphi XE compilers.

{$DEFINE FPC} for FreePascal.

{$DEFINE Delphi} for Delphi 7 to Delphi 2007 compilers.

Language: FPC Pascal v2.2.0+ / Delphi 5+: http://www.freepascal.org/

Operating Systems: Win (x86).


Thank you,
Amine Moulay Ramdane.
0 new messages