Tuesday, March 10, 2015

Digest for comp.programming.threads@googlegroups.com - 6 updates in 3 topics

Ramine <ramine@1.1>: Mar 09 05:26AM -0700

I have corrected some typos , please read again...
 
 
Hello...
 
 
Read this:
 
 
"Or, you are able to prevent starvation of low prio elements, that is,
if there is a constant flow of high and normal prio elements, you still
may want to process some low prio elements in between (it's a good idea
for most systems, your OS definitely does this for threads)."
 
read more here about Priority Queues:
 
http://www.1024cores.net/home/lock-free-algorithms/queues/priority-queues
 
I have thought about it and i have come to the conclusion that when you
set an element in the queue to low priority that means that logicaly you
want a higher priority element in the queue to be enqueued before the
low priority element, and i think that if you want to change this logic
just set the low priority element to a higher priority like a normal
priority. That's how i have implemented Concurrent priority FIFO queue 4
, look inside the zip, it's called "PWQueue.pas" and you can download it
from here:
 
 
https://sites.google.com/site/aminer68/concurrent-fifo-queue-4
 
 
 
Thank you,
Amine Moulay Ramdane.
bleachbot <bleachbot@httrack.com>: Mar 09 10:13PM +0100

bleachbot <bleachbot@httrack.com>: Mar 09 10:20PM +0100

bleachbot <bleachbot@httrack.com>: Mar 09 10:23PM +0100

Ramine <ramine@1.1>: Mar 09 05:15AM -0700

Hello,
 
 
Read this:
 
 
"Or, you are able to prevent starvation of low prio elements, that is,
if there is a constant flow of high and normal prio elements, you still
may want to process some low prio elements in between (it's a good idea
for most systems, your OS definitely does this for threads)."
 
read more here about Priority Queues:
 
http://www.1024cores.net/home/lock-free-algorithms/queues/priority-queues
 
I have thought about it and i have come to the conclusion that when you
set an element in the queue to low priority that means that logicaly you
want a higher priority element in the queue to be enqueued before the
low priority element, and i think that if you want to change this logic
just set the low priority element to a higher priority like a normal
priority. That's how i have implemented Conccurent priority FIFO queue 4
, look inside the zip, it's called "PWQueue.pas" and you can download it
from here:
 
https://sites.google.com/site/aminer68/conccurent-fifo-queue-4
 
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <ramine@1.1>: Mar 09 05:22AM -0700

Hello,
 
I have changed the link , here it is:
 
 
https://sites.google.com/site/aminer68/concurrent-fifo-queue-4
 
 
Thank you,
Amine Moulay Ramdane.
 
 
On 3/9/2015 5:15 AM, Ramine wrote:
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: