C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 3rd, 2003, 06:45 AM
tito tito is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 2 tito User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I need help to make a Local Host Lock Manger in Linux shell programming or C

You are required to design, implement and test logic for the local lock manager apart from the exceptions noted above, and as further specified in the following notes.

Notes:


At the level of lock managers, locks are identified by positive integers.

The timeout imposed for the TRYLOCK message is 5 secs.

Usually lock daemons would communicate using sockets. For this assignment you may use messaging procedures which employ message queues.

Local lock manager logic must allow for arrival in any order of lock requests from local applications and replies from the master lock manager to its own messages.

A local lock manager has to service multiple local applications; so it can't block on receiving a lock granted response from the master lock manager.

A local lock manager may also receive a message from a newly elected master telling it to resubmit all information regarding locks currently in use and outstanding requests.

Observe that testing of local lock manager logic does not require setting up of multiple instances: You will however need to set up a framework which appears like the rest of the system would.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > I need help to make a Local Host Lock Manger in Linux shell programming or C


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway