Sunday, January 3, 2016

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

bleachbot <bleachbot@httrack.com>: Jan 02 06:39PM +0100

bleachbot <bleachbot@httrack.com>: Jan 02 06:53PM +0100

bleachbot <bleachbot@httrack.com>: Jan 02 07:04PM +0100

bleachbot <bleachbot@httrack.com>: Jan 02 08:11PM +0100

bleachbot <bleachbot@httrack.com>: Jan 02 08:17PM +0100

bleachbot <bleachbot@httrack.com>: Jan 02 08:53PM +0100

bleachbot <bleachbot@httrack.com>: Jan 02 09:28PM +0100

bleachbot <bleachbot@httrack.com>: Jan 02 10:27PM +0100

bleachbot <bleachbot@httrack.com>: Jan 02 10:30PM +0100

bleachbot <bleachbot@httrack.com>: Jan 02 10:42PM +0100

bleachbot <bleachbot@httrack.com>: Jan 02 10:44PM +0100

bleachbot <bleachbot@httrack.com>: Jan 03 02:42AM +0100

Ramine <ramine@1.1>: Jan 02 08:44PM -0800

Hello,
 
 
Here is another wisdom of my own a good arab:
 
A harsh nationalism or a hash life is not good for the economic
market, to optimize more the economic market we have to think
best about rendering this life more beautiful, because fuzzy
logic says that to higher the probability of consuming more and
buying more goods we must be more friends and we must be more happy
and we must be more confident.
 
This wisdom of my own is in concordance with the philosophy
of social Liberalism.
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Jan 02 04:46PM -0800

Hello,
 
 
The nazis and Hitler was not sound in there logic,
and they have made big contradictions in there
philosophy and logic.
 
I will now give you my proof:
 
The nazis were calling there political party national socialism..
 
But if we get into logic,by the definition of socialism,
socialism have also to take into consideration and help poor
and weak people of the nation, and those poor and weak people of
the nation are called also racially inferiors, and since socialism
is defined by that , so calling yourself a socialist means also
that you must not oppress other nations, so there is a big logical
contradiction in nazism since nazism was calling its political party
national socialist.
 
 
So Hitler and its nazis followers was logically unsound and logically
insane.
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Jan 02 04:44PM -0800

Hello,
 
 
The nazis and Hitler was not sound in there logic,
and they have made big contradictions in there
philosophy and logic.
 
I will now give you my proof:
 
The nazis were calling there political party national socialism..
 
But if we get into logic,by the definition of socialism,
socialism have also to take into consideration and help poor
and weak people of the nation, and those poor and weak people of
the nation are called also racially inferiors, and since socialism
is defined by that , so calling yourself a socialist means also
that you must not oppress other nations, so there is a big logical
contradiction in nazism since nazism was calling its political party
national socialist.
 
 
So Hitler and its nazis followers was logically unsound and logically
unsane.
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Jan 02 04:32PM -0800

Hello,
 
My wisdom for today:
 
You can not define the whole by a part of the whole,
you have to take into consideration all the parts
of the whole to make definitions.
 
 
And my second wisdom that is very important:
 
You have to take fuzzy logic into consideration when
dealing with people and with people of this forum.
 
 
 
Thank you,
Amine Moulay Ramdane
Ramine <ramine@1.1>: Jan 02 04:29PM -0800

Hello,
 
My wisdom for today:
 
You can not define the whole by a part of the whole,
you have to take into consideration all the parts
of the whole to make definitions.
 
 
And mny second wisdom that is very important:
 
You have take fuzzy logic into consideration when
dealing with people and with people of this forum.
 
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Jan 02 03:30PM -0800

Hello,
 
 
Richard Heathfield of comp.programming forum is not
logically sound, because he has made a logical affirmation
taking into consideration that the definition of Java is
only what permit Oracle/Sun Java. And that's logically a
weak argument.
 
 
But me, i have taking into consideration all the mathematical logical
views, here are they:
 
 
1- If we take the definition of Java as a definition
that includes the tools of Java as Jamaica VM , that
means that Java permit realtime safety critical system
programming.
 
 
2- If we take the definition of Java as only Sun/Oracle Java
that means that Java doesn't permit realtime safety critical
system programming
 
 
3- If we mathematicaly say that the definition must be that
the whole part of Java including the tools of Java must
permit realtime Safety critical system programming to say
that Java permit realtime safety system programming , so
since Sun/Java doesn't permit realtime safety critical
system programming , so even if the Java part of the whole
part of Java that we call JamaicaVM that permit realtime
safety critical system programming, so we can affirm
mathematically that Java as whole doesn't permit realtime
safety system programming.
 
 
4- Or by definition that the Java part of the whole part
that we call JamaicaVM that permit realtime safety critical
system programming, so we can logically say the since the
JamaicaVM java tool part of the whole part of Java makes
the whole part of Java suitable for realtime safety critical
system programming, so Java as a whole is suitable for realtime
safety critical systems.
 
 
 
So my argument are logically sound , and Richard Heathfield is not.
 
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Jan 02 02:55PM -0800

Hello.....
 
 
I will make it logically clear:
 
Richard Heathfield is making the following affimation using
boolean logic:
 
Since Oracle/Sun Java is not made yet for realtime safety
critical systems programming , so i can affirm that Java can not permit
programming for realtime safety critical systems.
 
 
But me, Amine Moulay Ramdane, i am using fuzzy logic and
and doing like a good approximation with fuzzy logic like
this:
 
I am considering Java with its tools like Java in general and including
JamaicaVM Java tool that permit realtime safety critical system
programming with Java, so i am affirming since JamaicaVM exists
that means that Java permit realtime safety critical system programming,
so if we took the definition of Java as including
only the Java language from Oracle/Sun that means that Java doesn't
permit realtime safety critical systems programming,
or if we consider by boolean logic that since Sun or Oracle Java
is part of the Java in general so by boolean logic we can affirm
that Java as a whole doesn't permit realtime safety critical system
programming, since the hole part doesn't permit realtime safety critical
system programming, but we can use fuzzy logic that permit
to say since JamaicaVM is a tool of Java in general as a whole ,
so since it permit realtime safety critical system programming
with Java, so Java as a whole is suitable for Realtime safety critical
systems, that's fuzzy logic i think, or you can say by boolean logic
since JamaicaVM is a tool of Java in general and this Java tool
permit realtime safety critical system programming, so Java as whole
permit safety critical system programming.
 
So use this Java VM for hard realtime with Java:
 
https://www.aicas.com/cms/en/JamaicaVM
 
 
That's the point i want to make.
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Jan 02 02:18PM -0800

Hello,
 
I have affirmed about Java that:
 
>database programming, and Hard realtime software
>systems programming etc. with easy, and Java is
>really suitable for relatime safety critical systems...
 
 
And Richard Heathfield has responded and affirmed that:
 
>operation or maintenance of any nuclear facility.
>Sun Microsystems, Inc. disclaims any express or
>implied warranty of fitness for such uses."
 
 
What don't understand Richard Heathfiled is that he is basing its
reasonning on boolean logic, but me, i am basing my logic
on a good logic approximation because i am often writing
rapidly my answers and posts in this forum..
 
So Richard Heathfiled is saying that you can not use Sun or Oracle Java
with Realtime Satefty critical systems...
 
But i was not making an affirmation about Sun/Oracle Java only,
because i was talking in general about the tool of Java and
including in my affirmation the following Java tool that permit
to use Java in Realtime safety critical system, here it is:
 
Use this Java VM for hard realtime:
 
https://www.aicas.com/cms/en/JamaicaVM
 
 
So i was in my talk here on this forum using a good approximation
with my affirmation, because i was not talking only about
Sun/Oracle Java but also in general about Java including the tool
that we call JamaicaVM aboive that permit hard realtime in Java,
so i think that my affirmation is logically correct..
 
 
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Jan 02 02:12PM -0800

Hello,
 
I have affirmed about Java that:
 
>concurrent programming, and database programming, and Hard realtime
>software systems programming etc. with easy, and Java is really
>suitable for relatime safety critical systems...
 
 
And Richard Heathfield of comp.programming has responded and affirmed that:
 
>is not designed or intended for use in the design, construction,
>operation or maintenance of any nuclear facility. Sun Microsystems,
>Inc. disclaims any express or implied warranty of fitness for such uses."
 
 
What don't understand Richard Heathfiled is that he is basing its
reasonning on boolean logic, but me, i am basing my logic
on a good logic approximation because i am often writing
rapidly my answers and posts in this forum..
 
So Richard Heathfiled is saying that you can not use Sun or Oracle Java
with Realtime Satefty critical systems...
 
But i was not making an affirmation about Sun/Oracle Java only,
because i was talking in general about the tool of Java and
including in my affirmation the following Java tool that permit
to use Java in Realtime safety critical system, here it is:
 
Use this Java VM for hard realtime:
 
https://www.aicas.com/cms/en/JamaicaVM
 
 
So i was in my talk here on this forum using a good approximation
with my affirmation, because i was not talking only about
Sun/Oracle Java but also in general about Java including the tool
that we call JamaicaVM aboive that permit hard realtime in Java,
so i think that my affirmation is logically correct..
 
 
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Jan 02 01:06PM -0800

Hello....
 
My inventions that are my SemaMonitor and SemaCondvar were updated to
version 1.4, i have added an iterator on the FIFO Queue to make
WaitersBlocked()(that's the number of blocked threads on the SemaMonitor
or the SemaCondvar) works correctly, and you can wait indefinitly or for
a time-out interval in milliseconds.
 
You have to know that my SemaMonitor and SemaCondvar synchronization
objects combines all the characteristics of a Semaphore and also an
EventCount and also a windows Manual-reset event and also a windows
Auto-reset event and they are portable to Windows,Linux and OSX on x86
architecture.
 
You can download my SemaMonitor and SemaCondvar from:
 
https://sites.google.com/site/aminer68/semacondvar-semamonitor
 
You will find both of the SemaMonitor and SemaCondvar classes inside
the file called SemaCondvar.pas
 
Author: Amine Moulay Ramdane.
 
Description:
 
SemaCondvar and SemaMonitor are new and portable synchronization objects
, SemaCondvar combines all the characteristics of a semaphore and a
condition variable and also a windows Manual-reset event and also
windows Auto-reset event, and SemaMonitor combines all charateristics of
a semaphore and an eventcount and also a windows Manual-reset event and
also windows Auto-reset event, they only use an event object and and a
very fast and very efficient and portable FIFO fair Lock , so they are
fast and they are FIFO fair and and they are portable to Windows,Linux
and OSX on x86 architecture.
 
I feel that i must explain to you how do work my inventions that are my
SemaCondvar and SemaMonitor objects, you will find those classes inside
the SemaCondvar.pas file inside the zip file, SemaCondvar and
SemaMonitor are new and portable synchronization objects , SemaCondvar
combines all the charateristics of a semaphore and a condition variable
and SemaMonitor combines all charateristics of a semaphore and an
eventcount , they only use an event object and a very fast and efficient
and portable FIFO fair Lock , so they are fast and they are FIFO fair.
 
When you set the first parameter of the construction to true it will add
the characteristic of a Semaphore to the condition variable or to the
Eventcount, so the signal will not be lost if the threads are not
waiting for the SemaCondvar or SemaMonitor objects, but when you set the
forst 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..
 
Now you can pass the SemaCondvar's or Semamonitor's initialcount and
SemaCondvar's or SemaMonitor's MaximumCount to the construtor, it's like
the windows Semaphore`s InitialCount and the Semaphore's MaximumCount.
 
Like this:
 
t:=TSemaMonitor.create(true,0,4);
 
You have 5 options in the defines.inc file for setting the kind of
locks, just look inside defines.inc , if you want to set it for the
Mutex that is energy efficient because it blocks the threads, uncomment
the option Mutex, if you want to set it for my node based scalable Lock,
uncomment the option MLock, if you want to set it for my scalable array
based lock called AMLock just uncomment the option AMLock inside
defines.inc, if you want to set it for Ticket Spinlock just uncomment
the option TicketSpinlock ,If you want to set it for Spinlock just
uncomment the option Spinlock.
 
Here is the methods that i have implemented :
 
TSemaCondvar = class
public
 
constructor
Create(m1:TCriticalSection;state1:boolean=false;InitialCount1:long=0;MaximumCount1:long=INFINITE);
destructor Destroy; override;
function wait(mstime:longword=INFINITE):boolean;
procedure signal();overload;
procedure signal_all();
procedure signal(nbr:long);overload;
function WaitersBlocked:integer;
end;
 
TSemaMonitor = class
public
constructor
Create(state1:boolean=false;InitialCount1:long=0;MaximumCount1:long=INFINITE);
destructor Destroy; override;
function wait(mstime:longword=INFINITE):boolean;
procedure signal();overload;
procedure signal_all();
procedure signal(nbr:long);overload;
function WaitersBlocked:integer;
procedure setSignal;
procedure resetSignal;
end;
Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/
 
Operating Systems: Windows, Mac OSX , Linux...
 
Required FPC switches: -O3 -Sd -dFPC -dFreePascal
 
-Sd for delphi mode....
 
Required Delphi switches: -DMSWINDOWS -$H+ -DDelphi
 
For Delphi XE-XE7 use the -DXE switch
 
{$DEFINE CPU32} and {$DEFINE Windows32} for 32 bit systems
 
{$DEFINE CPU64} and {$DEFINE Windows64} for 64 bit systems
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Jan 02 12:41PM -0800

Hello,
 
 
My inventions that are my SemaMonitor and SemaCondvar were updated
to version 1.4, i have added an iterator on the FIFO Queue to
make WaitersBlocked()(that's the number of blocked threads on the
SemaMonitor or the SemaCondvar) works correctly, and now i have
now waiting indefinitly or for a The time-out interval in milliseconds.
 
You have to now that my SemaMonitor and SemaCondvar synchronization
objects combines all the characteristics of a Semaphore and also
EventCount and also a windows Manual-reset event and also windows
Auto-reset event and they are portable to Windows,Linux and OSX on x86
architecture.
 
 
You can download my SemaMonitor and SemaCondvar from:
 
https://sites.google.com/site/aminer68/semacondvar-semamonitor
 
 
You will find both of the SemaMonitor and SemaCondvar classes inside
the file called SemaCondvar.pas
 
 
 
Author: Amine Moulay Ramdane.
 
Description:
 
SemaCondvar and SemaMonitor are new and portable synchronization objects
, SemaCondvar combines all the characteristics of a semaphore and a
condition variable and also a windows Manual-reset event and also
windows Auto-reset event, and SemaMonitor combines all charateristics of
a semaphore and an eventcount and also a windows Manual-reset event and
also windows Auto-reset event, they only use an event object and and a
very fast and very efficient and portable FIFO fair Lock , so they are
fast and they are FIFO fair and and they are portable to Windows,Linux
and OSX on x86 architecture.
 
I feel that i must explain to you how do work my inventions that are my
SemaCondvar and SemaMonitor objects, you will find those classes inside
the SemaCondvar.pas file inside the zip file, SemaCondvar and
SemaMonitor are new and portable synchronization objects , SemaCondvar
combines all the charateristics of a semaphore and a condition variable
and SemaMonitor combines all charateristics of a semaphore and an
eventcount , they only use an event object and a very fast and efficient
and portable FIFO fair Lock , so they are fast and they are FIFO fair.
 
When you set the first parameter of the construction to true it will add
the characteristic of a Semaphore to the condition variable or to the
Eventcount, so the signal will not be lost if the threads are not
waiting for the SemaCondvar or SemaMonitor objects, but when you set the
forst 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..
 
Now you can pass the SemaCondvar's or Semamonitor's initialcount and
SemaCondvar's or SemaMonitor's MaximumCount to the construtor, it's like
the windows Semaphore`s InitialCount and the Semaphore's MaximumCount.
 
Like this:
 
t:=TSemaMonitor.create(true,0,4);
 
 
You have 5 options in the defines.inc file for setting the kind of
locks, just look inside defines.inc , if you want to set it for the
Mutex that is energy efficient because it blocks the threads, uncomment
the option Mutex, if you want to set it for my node based scalable Lock,
uncomment the option MLock, if you want to set it for my scalable array
based lock called AMLock just uncomment the option AMLock inside
defines.inc, if you want to set it for Ticket Spinlock just uncomment
the option TicketSpinlock ,If you want to set it for Spinlock just
uncomment the option Spinlock.
 
Here is the methods that i have implemented :
 
TSemaCondvar = class
public
 
constructor
Create(m1:TCriticalSection;state1:boolean=false;InitialCount1:long=0;MaximumCount1:long=INFINITE);
destructor Destroy; override;
function wait(mstime:longword=INFINITE):boolean;
procedure signal();overload;
procedure signal_all();
procedure signal(nbr:long);overload;
function WaitersBlocked:integer;
end;
 
TSemaMonitor = class
public
constructor
Create(state1:boolean=false;InitialCount1:long=0;MaximumCount1:long=INFINITE);
destructor Destroy; override;
function wait(mstime:longword=INFINITE):boolean;
procedure signal();overload;
procedure signal_all();
procedure signal(nbr:long);overload;
function WaitersBlocked:integer;
procedure setSignal;
procedure resetSignal;
end;
Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/
 
Operating Systems: Windows, Mac OSX , Linux...
 
Required FPC switches: -O3 -Sd -dFPC -dFreePascal
 
-Sd for delphi mode....
 
Required Delphi switches: -DMSWINDOWS -$H+ -DDelphi
 
For Delphi XE-XE7 use the -DXE switch
 
{$DEFINE CPU32} and {$DEFINE Windows32} for 32 bit systems
 
{$DEFINE CPU64} and {$DEFINE Windows64} for 64 bit systems
 
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Jan 02 12:54PM -0800

On 1/2/2016 12:41 PM, Ramine wrote:
> make WaitersBlocked()(that's the number of blocked threads on the
> SemaMonitor or the SemaCondvar) works correctly, and now i have
> now waiting indefinitly or for a The time-out interval in milliseconds.
 
I mean: and you can now wait indefinitly or for a The time-out interval
in milliseconds.
 
 
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: