Archived
1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
Henrik Hautakoski
697d512ea6 lockfile: Remove force parameter from hold_lock()
If user wants to 'force' a lock, he/she will have to remove the file
manually. some wierd race conditions may happen if different processes optains the
same lock at any given time (thats why lockfile is implemented in the first place)
So lockfile API should not in any circumstances directly provide a way to force taking a lock.
2013-10-17 15:57:42 +02:00
Henrik Hautakoski
611409c777 lockfile: expose locked()
usefull to have this macro in the interface so other modules using lockfiles
can check if a certain lock is active.
2011-09-24 13:03:22 +02:00
Henrik Hautakoski
6a4d6af99d lockfile.h: small typo in headercomment 2011-09-12 20:40:52 +02:00
Henrik Hautakoski
b02ff8863e lockfile: release locks on exit 2011-09-21 17:19:10 +02:00
Henrik Hautakoski
bb5963dbf6 License with GPLv2 2011-09-21 17:19:09 +02:00
Henrik Hautakoski
5a5a3d33e4 Adding lockfile.c
moving code from compile.c under an api so it can be reused.
2011-09-21 17:19:09 +02:00