What is the best way (less CPU consuming) to put a thread in sleep and wake it 
up when new record has been written to a given table of SQLite database?

Now I am implementing this by polling and time based sleep, but such solution 
is very dirty compromise, trading response time for CPU load. I want both. :)

-- 
http://fresh.flatassembler.net
http://asm32.info
John Found <johnfo...@asm32.info>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to