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

Object oriented Stackful coroutines library for Delphi and FreePascal

1 view
Skip to first unread message

Ramine

unread,
Aug 8, 2016, 10:48:09 AM8/8/16
to
Hello,


Object oriented Stackful coroutines library for Delphi and FreePascal


Description:

This object oriented 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 can take one Megabytes of stack and the thread context switch
is expensive, 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.

Please note that the 64 bit FreeePascal unit is Stackful, but
the 64 bit Delphi XE unit is Stackless.

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 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


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

{$DEFINE XE} for Dedlphi 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 , Mac OS X, and Linux (x86).



Thank you,
Amine Moulay Ramdane.

Ramine

unread,
Aug 8, 2016, 10:59:04 AM8/8/16
to

Hello,


This library was also ported to 64 bit Delphi and FreePascal compilers.

It works on Windows, Linux and Mac OS X (x86)
0 new messages