summaryrefslogtreecommitdiff
path: root/lib/lockfile.c
Commit message (Collapse)AuthorAgeFilesLines
* vlog: Make client supply semicolon for VLOG_DEFINE_THIS_MODULE.Ben Pfaff2010-10-291-1/+1
| | | | | It's kind of odd for VLOG_DEFINE_THIS_MODULE to supply its own semicolon, so this commit switches to the more common form.
* Switch many macros from using CONTAINER_OF to using OBJECT_CONTAINING.Ben Pfaff2010-10-011-2/+2
| | | | | These macros require one fewer argument by switching, which makes code that uses them shorter and more readable.
* vlog: Introduce VLOG_DEFINE_THIS_MODULE for declaring vlog module in use.Ben Pfaff2010-07-211-2/+2
| | | | | | | Adding a macro to define the vlog module in use adds a level of indirection, which makes it easier to change how the vlog module must be defined. A followup commit needs to do that, so getting these widespread changes out of the way first should make that commit easier to review.
* lockfile: Occasionally log a warning when waiting for a lockfile.Ben Pfaff2010-03-081-1/+7
| | | | | | | | Waiting for a lockfile can cause mysterious pauses for users. Logging a warning to the console every so often gives them feedback on what is happening. Reported-by: Justin Pettit <jpettit@nicira.com>
* Merge "master" branch into "db".Ben Pfaff2009-12-021-2/+2
|
* Implement library for lockfiles and use it in cfg code.Ben Pfaff2009-10-291-0/+280
This is useful because the upcoming configuration database also needs a lockfile implementation. Also adds tests.