[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r17233: {tor} beg nick for some documentation on the locking functions (in tor/trunk/src: common or)



Author: arma
Date: 2008-11-09 19:48:13 -0500 (Sun, 09 Nov 2008)
New Revision: 17233

Modified:
   tor/trunk/src/common/compat.c
   tor/trunk/src/or/main.c
Log:
beg nick for some documentation on the locking functions


Modified: tor/trunk/src/common/compat.c
===================================================================
--- tor/trunk/src/common/compat.c	2008-11-10 00:41:07 UTC (rev 17232)
+++ tor/trunk/src/common/compat.c	2008-11-10 00:48:13 UTC (rev 17233)
@@ -481,6 +481,7 @@
   int fd;
 };
 
+/** DOCDOC. What's this function do? */
 tor_lockfile_t *
 tor_lockfile_lock(const char *filename, int blocking, int *locked_out)
 {

Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2008-11-10 00:41:07 UTC (rev 17232)
+++ tor/trunk/src/or/main.c	2008-11-10 00:48:13 UTC (rev 17233)
@@ -1861,6 +1861,7 @@
 
 static tor_lockfile_t *lockfile = NULL;
 
+/** DOCDOC. What's this function do? */
 int
 try_locking(or_options_t *options, int err_if_locked)
 {