Re: [sqlite] 3.5.x and pthreads design

2007-11-25 Thread Teufel
D. Richard Hipp wrote: For threads within the same process, fcntl is broken by design in POSIX. (You can clearly tell which parts of Unix were invented by Thompson and Richie and which parts were added later by clueless committees. Posix advisory locks belong in the latter category.) SQLite

Re: [sqlite] 3.5.x and pthreads design

2007-11-25 Thread D. Richard Hipp
On Nov 25, 2007, at 5:34 PM, Teufel wrote: Hi everyone, I am using sqlite 3.3 awhile now for some statistic updates in multithreaded enviroment. Now I would like to move on to 3.5.2 use it more for other tasks too. Since the sqlite db is placed here on a fs, which has a broken fcntl, I d

[sqlite] 3.5.x and pthreads design

2007-11-25 Thread Teufel
Hi everyone, I am using sqlite 3.3 awhile now for some statistic updates in multithreaded enviroment. Now I would like to move on to 3.5.2 use it more for other tasks too. Since the sqlite db is placed here on a fs, which has a broken fcntl, I disabled it by putting "#define fcntl (A,B,C) 0".