diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-04-26 16:17:49 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-04-26 16:17:49 +0000 |
commit | b359f8b639e14efeb5ae54d43395a249f9859536 (patch) | |
tree | efc2da0d84f24ad91021ea442e12f55eb170f969 /src/lockmanager/README | |
parent | 21808116e6a8c87e100f0f382bf8d22d61aa75e8 (diff) | |
download | gnunet-b359f8b639e14efeb5ae54d43395a249f9859536.tar.gz gnunet-b359f8b639e14efeb5ae54d43395a249f9859536.zip |
-lockmanager build skeleton
Diffstat (limited to 'src/lockmanager/README')
-rw-r--r-- | src/lockmanager/README | 9 |
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 | |||
3 | checks upon a resource which should be protected from concurrent access. | 3 | checks upon a resource which should be protected from concurrent access. |
4 | 4 | ||
5 | Locking is managed through locking-domains. A locking-domain is a string which | 5 | Locking is managed through locking-domains. A locking-domain is a string which |
6 | uniquely identifies a group of locks. Locks are represented as unsigned | 6 | uniquely identifies a group of locks. Locks are represented as unsigned 32-bit |
7 | integers. When a critical resource has to be protected against simulataneous | 7 | integers. When a critical resource has to be protected against simulataneous |
8 | access by 2 programs. Both of them should connect to the lockmanager using the | 8 | access by 2 programs, both of them should connect to the lockmanager using the |
9 | same locking-domain and try to lock a lock. Since only one of them can acquire | 9 | same locking-domain and try to acquire a lock with the same number. Since only |
10 | the lock the other will be denied locking until the other releases it. \ No newline at end of file | 10 | one of them can acquire the lock the other will be denied locking until the |
11 | it the lock is released. \ No newline at end of file | ||