Search Results

Search: Posts Made By: tpotter01
8,310
Posted By tpotter01
Yeah, the process itself could keep track, I was...
Yeah, the process itself could keep track, I was trying to come up with a more "elegant" way. To protect from lazy developers. ;)
8,310
Posted By tpotter01
So what I want to prevent is a deadlock where a...
So what I want to prevent is a deadlock where a process reads memory decrementing semvalue by 1 then tries to request exclusive access. I would like to be able to determine that this process has...
8,310
Posted By tpotter01
From what I can determine the last process to...
From what I can determine the last process to interact with a semaphore stores it's pid in the semaphore buffer area.

Don't get hung up on 10. 10 was just a number I pulled out of my ---- When a...
8,310
Posted By tpotter01
Determining which processes hold a semaphore
I have a situation where I have created a semaphore and set it's value to 10. I am using this semaphore to control access to a shared memory location. I can have 10 processes simultaneously read...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 09:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy