diff options
author | Roger Dingledine <arma@torproject.org> | 2008-11-10 00:48:13 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-11-10 00:48:13 +0000 |
commit | c62d5f6a5c71a1668d0a5a7c3ad345abb8be4dde (patch) | |
tree | 796bdf8a61d677964fa588c0f83d821162f1b7c7 | |
parent | 0554e87f58216a0abefb3867278103f39ee63814 (diff) | |
download | tor-c62d5f6a5c71a1668d0a5a7c3ad345abb8be4dde.tar.gz tor-c62d5f6a5c71a1668d0a5a7c3ad345abb8be4dde.zip |
beg nick for some documentation on the locking functions
svn:r17233
-rw-r--r-- | src/common/compat.c | 1 | ||||
-rw-r--r-- | src/or/main.c | 1 |
2 files changed, 2 insertions, 0 deletions
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) { |