[EMAIL PROTECTED] wrote:
> How are you going to deal with locking with this?  Don't tell me it
> doesn't require any, because you are doing shared memory with a linked
> list.  There will be locking considerations whenever you create a new
> shared memory segment.

Yes there is locking. The locking is related to the free list and the 
scoreboard list. This could possibly be broken down to finer granularity
to lock the process_score list and lock each of the worker_score lists if
it seemed necessary. If new shmem allocations need to be made, the only
locking would be to add the memory to the free list.

-- 
Paul J. Reder
-----------------------------------------------------------
"The strength of the Constitution lies entirely in the determination of each
citizen to defend it.  Only if every single citizen feels duty bound to do
his share in this defense are the constitutional rights secure."
-- Albert Einstein

Reply via email to