Unix Programming - Prioritized locking

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > February 2005 > Prioritized locking





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Prioritized locking
Kelvin Moss

2005-02-20, 6:19 pm

Hi group,

I have several processes that are fighting to grab a semaphore to
access a region of shared memory. Of all of them I need to give special
priveleges to one of the process if it is also fighting to grab the
semaphore.

I know little about prioritized locks. Any links/references to them in
a multiprocess environment will be appreciated.

Thanks.

moi

2005-02-20, 6:20 pm

Kelvin Moss wrote:
> Hi group,
>
> I have several processes that are fighting to grab a semaphore to
> access a region of shared memory. Of all of them I need to give special
> priveleges to one of the process if it is also fighting to grab the
> semaphore.
>
> I know little about prioritized locks. Any links/references to them in
> a multiprocess environment will be appreciated.
>
> Thanks.
>

Theory and implementation are two different subjects.

For theory: consult a good book, like Jim Gray& Andreas Reuter's
"transaction processing".

For implementation: come back after reading the above book.
That will probably be a year from now ;-)
Let's synchronise our watches ...

HTH,
AvK
Markus Elfring

2005-02-20, 6:20 pm

> I know little about prioritized locks. Any links/references to them in
> a multiprocess environment will be appreciated.


Did you perform a search on your own with any key words?
Example:
http://citeseer.ist.psu.edu/cis?q=priority+lock

Regards,
Markus


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com