diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-05-15 16:14:04 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-05-15 16:14:04 +0000 |
commit | 06415e68bc0a5df3c4c509151a474e0a901c7c64 (patch) | |
tree | 409291845004dbbbd7787d7286ade5a3cebbc6bf /src/lockmanager | |
parent | 5149ebc1f85749f8c5bdbef7dc3044da97ef50c1 (diff) | |
download | gnunet-06415e68bc0a5df3c4c509151a474e0a901c7c64.tar.gz gnunet-06415e68bc0a5df3c4c509151a474e0a901c7c64.zip |
-doc header
Diffstat (limited to 'src/lockmanager')
-rw-r--r-- | src/lockmanager/README | 11 | ||||
-rw-r--r-- | src/lockmanager/test_lockmanager_api_servercrash.c | 4 |
2 files changed, 2 insertions, 13 deletions
diff --git a/src/lockmanager/README b/src/lockmanager/README deleted file mode 100644 index 8d9339e4d..000000000 --- a/src/lockmanager/README +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | The lockmanager service serves as a global locker for other gnunet | ||
2 | programs. This service eliminates the need for programs to maintain their own | ||
3 | checks upon a resource which should be protected from concurrent access. | ||
4 | |||
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 32-bit | ||
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 | ||
9 | same locking-domain and try to acquire a lock with the same number. Since only | ||
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 | ||
diff --git a/src/lockmanager/test_lockmanager_api_servercrash.c b/src/lockmanager/test_lockmanager_api_servercrash.c index 71e5f421d..4b9d9cbe4 100644 --- a/src/lockmanager/test_lockmanager_api_servercrash.c +++ b/src/lockmanager/test_lockmanager_api_servercrash.c | |||
@@ -19,8 +19,8 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file lockmanager/test_lockmanager_api_lockrelease.c | 22 | * @file lockmanager/test_lockmanager_api_servercrash.c |
23 | * @brief Test cases for lockmanager_api where client disconnects abruptly | 23 | * @brief Test cases for lockmanager_api where the server crashes |
24 | * @author Sree Harsha Totakura | 24 | * @author Sree Harsha Totakura |
25 | */ | 25 | */ |
26 | 26 | ||