aboutsummaryrefslogtreecommitdiff
path: root/src/lockmanager/README
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-04-26 16:17:49 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-04-26 16:17:49 +0000
commitb359f8b639e14efeb5ae54d43395a249f9859536 (patch)
treeefc2da0d84f24ad91021ea442e12f55eb170f969 /src/lockmanager/README
parent21808116e6a8c87e100f0f382bf8d22d61aa75e8 (diff)
downloadgnunet-b359f8b639e14efeb5ae54d43395a249f9859536.tar.gz
gnunet-b359f8b639e14efeb5ae54d43395a249f9859536.zip
-lockmanager build skeleton
Diffstat (limited to 'src/lockmanager/README')
-rw-r--r--src/lockmanager/README9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lockmanager/README b/src/lockmanager/README
index ef38e990c..8d9339e4d 100644
--- a/src/lockmanager/README
+++ b/src/lockmanager/README
@@ -3,8 +3,9 @@ programs. This service eliminates the need for programs to maintain their own
3checks upon a resource which should be protected from concurrent access. 3checks upon a resource which should be protected from concurrent access.
4 4
5Locking is managed through locking-domains. A locking-domain is a string which 5Locking is managed through locking-domains. A locking-domain is a string which
6uniquely identifies a group of locks. Locks are represented as unsigned 6uniquely identifies a group of locks. Locks are represented as unsigned 32-bit
7integers. When a critical resource has to be protected against simulataneous 7integers. When a critical resource has to be protected against simulataneous
8access by 2 programs. Both of them should connect to the lockmanager using the 8access by 2 programs, both of them should connect to the lockmanager using the
9same locking-domain and try to lock a lock. Since only one of them can acquire 9same locking-domain and try to acquire a lock with the same number. Since only
10the lock the other will be denied locking until the other releases it. \ No newline at end of file 10one of them can acquire the lock the other will be denied locking until the
11it the lock is released. \ No newline at end of file