summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/repository.h
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-03-09 03:14:53 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-03-09 03:14:53 +0000
commit57bbfd67e0c60361607f0fe9754b6e180f256a89 (patch)
treeb45a59fb8b02d8075813ec716330f0644f13f769 /usr.bin/cvs/repository.h
parenta57a4c04aca279828055a89d7d8f1207957a706c (diff)
proper repository locking:
- all read operations now look for a lock, and wait if present but never try to lock the tree themselfs anymore. - all write operations lock the tree where needed. - commit locks all relevant directories before even attempting to start.
Diffstat (limited to 'usr.bin/cvs/repository.h')
-rw-r--r--usr.bin/cvs/repository.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/cvs/repository.h b/usr.bin/cvs/repository.h
index 6375f3c4780..7ac540e02dd 100644
--- a/usr.bin/cvs/repository.h
+++ b/usr.bin/cvs/repository.h
@@ -25,7 +25,7 @@
extern struct cvs_wklhead repo_locks;
void cvs_repository_unlock(const char *);
-void cvs_repository_lock(const char *);
+void cvs_repository_lock(const char *, int);
void cvs_repository_getdir(const char *, const char *,
struct cvs_flisthead *, struct cvs_flisthead *, int);