C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

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 10th, 2003, 01:18 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
  #2  
Old June 10th, 2003, 08:58 AM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed God (5000 - 5499 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 5,163 Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level)Onslaught User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 6 Days 1 h 34 m 20 sec
Reputation Power: 791
Typically it is frowned upon to come to a forum to get your homework assignments done. I would suggest that you consult your teacher and classmates for something along these lines.

Also, in general, we can help answer problems, but we won't write the program for you. If you get stuck at a specific place, then ask a question to get the help you need to get over this problem.
If you want someone to write the program for you then you should post in the "Project Help Wanted" forum instead.

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

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap