Hello.....
My C++ synchronization objects library was just updated...
I have just used the following SafeInt 3.0.18:
http://safeint.codeplex.com/releases/view/125522
It is a clever library and method to detect and prevent overflow and
underflow on datatypes such as char, signed and unsigned integer, and
signed and unsigned long long integer etc. , i have just included it
inside the SemaMonitor directory inside the zip and i have showed you
how to use it, just look at how to use it inside the test1.cpp example
inside the zip file inside the SemaMonitor directory...
You can download again my C++ synchronization objects library from:
https://sites.google.com/site/aminer68/c-synchronization-objects-library
About SemaMonitor 2.02...
When you use Semaphores , and when you release and you have attained the
maximum count to be released, the signal(or the release) will be lost
and this is no good, this is why i have implemented my new algorithm of
my SemaMonitor version 2.02, now if you want the signal(s) to not be
lost with my SemaMonitor, you can configure it by passing a parameter to
the constructor, and it works great, this has helped to implement my
Concurrent FIFO Queue 1 and my Concurrent FIFO queue 2 without using
Condition variables.
You can download the concurrent FIFO queues from:
https://sites.google.com/site/aminer68/concurrent-fifo-queue-1
and from:
https://sites.google.com/site/aminer68/concurrent-fifo-queue-2
And you can download my Lightweight SemaMonitor and my SemaCondvar
version 2.02 from:
Lightweight SemaCondvar & SemaMonitor version 2.02
https://sites.google.com/site/aminer68/light-weight-semacondvar-semamonitor
And:
SemaCondvar & SemaMonitor version 2.02
https://sites.google.com/site/aminer68/semacondvar-semamonitor
Thank you,
Amine Moulay Ramdane.