瀏覽代碼

beg nick for some documentation on the locking functions

svn:r17233
Roger Dingledine 15 年之前
父節點
當前提交
c62d5f6a5c
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      src/common/compat.c
  2. 1 0
      src/or/main.c

+ 1 - 0
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)
 {

+ 1 - 0
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)
 {