Re: [sqlite] Porting Sqlite to MQX OS: Question 2

2010-03-16 Thread GeoffW
_ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > -- View this message in context: http://old.nabble.com/Porting-Sqlite-to-MQX-OS%3A-Question-2-tp27874124p27918689.h

Re: [sqlite] Porting Sqlite to MQX OS: Question 2

2010-03-15 Thread Dan Kennedy
On Mar 16, 2010, at 5:22 AM, GeoffW wrote: > > Hello Dan > > Thanks for your useful input. To answer your questions. > >> Do you have any file-locking primitives provided by the OS? > There are no file locking OS Primitives at all that I can use. > >> Do you have clients connecting to the

Re: [sqlite] Porting Sqlite to MQX OS: Question 2

2010-03-15 Thread GeoffW
have made >>>> SQLITE_THREADSAFE = 0 (so I probably dont even need a file lock in >>>> the >>>> configuration I have at present ?) >>>> However I would of course like to make SQLITE_THREADSAFE = 1 so that >>>> multiple tasks can sa

Re: [sqlite] Porting Sqlite to MQX OS: Question 2

2010-03-15 Thread Dan Kennedy
imer: this is not my specialism, I hope it helps >> nevertheless) >> >> SQLITE_THREADSAFE has effect on threads within the same >> process (=task), especially when they use the same >> connection. You need file locks for synchronisation between >> different processes. If the file

Re: [sqlite] Porting Sqlite to MQX OS: Question 2

2010-03-15 Thread GeoffW
processes. If the filesystem doesn't provide them, > you could use the dot lockfile paradigm, which seems to be > associated with SQLITE_ENABLE_LOCKING_STYLE. > >>Thanks for any guidance >> >>Regards Geoff > -- > ( Kees Nuyt > ) > c[_] > ________

Re: [sqlite] Porting Sqlite to MQX OS: Question 2

2010-03-12 Thread Kees Nuyt
On Fri, 12 Mar 2010 02:22:31 -0800 (PST), GeoffW wrote: > >Hi > >Now I have got a half ported version of Sqlite up and running on MQX I cant >put off any longer the question of file locking and how I tackle that ? For >the moment i had made the xLock() and xUnlock() the

[sqlite] Porting Sqlite to MQX OS: Question 2

2010-03-12 Thread GeoffW
://old.nabble.com/Porting-Sqlite-to-MQX-OS%3A-Question-2-tp27874124p27874124.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users