From c62d5f6a5c71a1668d0a5a7c3ad345abb8be4dde Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 10 Nov 2008 00:48:13 +0000 Subject: beg nick for some documentation on the locking functions svn:r17233 --- src/common/compat.c | 1 + src/or/main.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/common/compat.c b/src/common/compat.c index bf7e27e186..11455356ed 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -481,6 +481,7 @@ struct tor_lockfile_t { int fd; }; +/** DOCDOC. What's this function do? */ tor_lockfile_t * tor_lockfile_lock(const char *filename, int blocking, int *locked_out) { diff --git a/src/or/main.c b/src/or/main.c index 47af2d01ed..c65a5a3a5e 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1861,6 +1861,7 @@ tor_init(int argc, char *argv[]) static tor_lockfile_t *lockfile = NULL; +/** DOCDOC. What's this function do? */ int try_locking(or_options_t *options, int err_if_locked) { -- cgit v1.2.3-54-g00ecf