mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
beg nick for some documentation on the locking functions
svn:r17233
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user