lockfile: Remove lockfile_lock timeout argument
authorLeo Alterman <lalterman@nicira.com>
Thu, 9 Aug 2012 00:40:43 +0000 (17:40 -0700)
committerLeo Alterman <lalterman@nicira.com>
Thu, 9 Aug 2012 22:06:38 +0000 (15:06 -0700)
commit4770e795f51cdff3b43325474997088f540c9b18
tree335cbf05c72087e3aeaa28898d515f50fcde3e46
parentb6d729adb55c24fdeafecdae8565ba04586b93a0
lockfile: Remove lockfile_lock timeout argument

lockfile_lock() accepts a timeout argument but, aside from unit tests
pertaining to timeout, its value is always 0. Since this feature relies on
a periodic SIGALRM signal, which is not a given if we're not caching time,
the cleanest solution is just to remove it.

Signed-off-by: Leo Alterman <lalterman@nicira.com>
lib/lockfile.c
lib/lockfile.h
ovsdb/file.c
ovsdb/log.c
ovsdb/ovsdb-tool.c
tests/lockfile.at
tests/test-lockfile.c