Mercurial > hg > audiodb
diff audioDB.h @ 590:4eedc18634f5
Use _locking() to emulate fcntl() locks
This is a rather terrible emulation; _locking() doesn't support
nonexclusive locks, and also doesn't document any useful return codes.
Oh well; it's a start.
author | mas01cr |
---|---|
date | Tue, 11 Aug 2009 21:42:18 +0000 |
parents | e6dab5ed471c |
children | 6d5d4c733781 |
line wrap: on
line diff
--- a/audioDB.h Tue Aug 11 21:42:13 2009 +0000 +++ b/audioDB.h Tue Aug 11 21:42:18 2009 +0000 @@ -278,8 +278,6 @@ void cleanup(); ~audioDB(); int processArgs(const unsigned argc, const char* argv[]); - void get_lock(int fd, bool exclusive); - void release_lock(int fd); void create(const char* dbName); void insert(const char* dbName, const char* inFile); void batchinsert(const char* dbName, const char* inFile);