Thursday, May 5, 2016

Digest for comp.programming.threads@googlegroups.com - 12 updates in 4 topics

Ramine <ramine@1.1>: May 04 05:49PM -0700

Hello,
 
 
Now i will speak about C++ programming language.
 
I have just learned C++ in 2 days and it after that it
took me one more day to implement my C++ synchronization objects
library, and it was easy for me to implement because i was
already programmer and i have tested it thoroughly and i think
it is working great, and now i think that C++ is a good language
too, but as you have noticed i am an Object Pascal programmer who
specializes in parallel programming and you will find all
my projects here:
 
https://sites.google.com/site/aminer68/
 
And you can download my C++ synchronization objects library from:
 
https://sites.google.com/site/aminer68/c-synchronization-objects-library
 
 
Thank you,
Amine Moulay Ramdane.
bleachbot <bleachbot@httrack.com>: May 04 09:27PM +0200

bleachbot <bleachbot@httrack.com>: May 04 09:30PM +0200

bleachbot <bleachbot@httrack.com>: May 04 10:07PM +0200

bleachbot <bleachbot@httrack.com>: May 04 10:14PM +0200

bleachbot <bleachbot@httrack.com>: May 04 10:46PM +0200

bleachbot <bleachbot@httrack.com>: May 04 11:48PM +0200

Ramine <ramine@1.1>: May 04 04:49PM -0700

Hello,
 
My SemaMonitor of C++ synchronization objects library is
easy to use, it combines the combines all characteristics of a semaphore
and an eventcount and also a windows Manual-reset event and also a
windows Auto-reset event, here is its C++ interface:
 
class SemaMonitor{
public:
SemaMonitor(bool state, long2 InitialCount1=0,long2
MaximumCount1=INFINITE);
~SemaMonitor();

void wait(unsigned long mstime=INFINITE);
void signal();
void signal_all();
void signal(long2 nbr);
void setSignal();
void resetSignal();
long1 WaitersBlocked();
};
 
 
So when you set the first parameter that is state of the constructor to
true. it will add the characteristic of a Semaphore to the to the
Eventcount, so the signal will not be lost if the threads are not
waiting for the SemaMonitor objects, but when you set the first
parameter of the construtor to false, it will not behave like a
Semaphore because if the threads are not waiting for the SemaCondvar or
SemaMonitor the signal will be lost..
 
the parameters InitialCount1 and MaximumCount1 is the semaphore
InitialCount and MaximumCount.
 
The wait() method is for the threads to waiT on the SemaMonitor
object for the signal to be signaled.
 
and the signal() method will signal one time awaiting thread on the
SemaMonitor object.
 
the signal_all() method will signal all the waiting threads on the
SemaMonitor object.
 
the signal(long2 nbr) method will signal nbr number of waiting threads
 
the setSignal() and resetSignal() methods behave like the windows Event
object's methods that are setEvent() and resetEvent().
 
and WaitersBlocked() will return the number of waiting threads on
the SemaMonitor object.
 
 
As you have noticed my SemaMonitor is a powerful synchronization object.
 
 
You can download this library from:
 
https://sites.google.com/site/aminer68/c-synchronization-objects-library
 
 
Thank you,
Amine Moulay Ramdane.
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: May 04 03:30PM -0700

Hello....
 
 
C++ synchronization objects library is here...
 
 
Author: Amine Moulay Ramdane
 
Email: aminer@videotron.ca
 
Description:
 
This library contains three synchronization objects, first one is my
scalable SeqlockX that is a variant of Seqlock that eliminates the
weakness of Seqlock that is livelock, and second is my scalable MLock
that is a scalable lock , and third is my SemaMonitor that combines all
characteristics of a semaphore and an eventcount and also a windows
Manual-reset event and also a windows Auto-reset event.
 
Please read the readme files inside the zip file to know more about them..
 
Language: GNU C++ and Visual C++
 
Operating Systems: Windows, Linux, Unix...
 
 
 
You can download this library from:
 
https://sites.google.com/site/aminer68/c-synchronization-objects-library
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: May 04 03:32PM -0700

Hello,
 
 
You can download the source of my sycnhronization objects here:
 
https://sites.google.com/site/aminer68/
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: May 04 04:08PM -0700

Hello,
 
 
If you take a look at the zip file , you will notice
that it contains the DLLs Object pascal source codes,
to compile those DLLs source codes you will have to download
my SemaCondvar Object pascal source code and my SeqlockX Object pascal
source code and my scalable MLock Object pascal source code from here:
 
https://sites.google.com/site/aminer68/
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: May 04 04:15PM -0700

Hello......
 
I have compiled and included the 32 bit and 64 bit
windows Dynamic Link Link libraries inside the zip file,
if you want to compile the dynmic link libraries for Unix and Linux
and OSX on (x86) , please download the source code of
my SemaCondvar and my scalable SeqlockX and my scalable MLock
and compile them yourself.
 
 
Thank you,
Amine Moulay Ramdane.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: