Original Post
I'll be using SQLite in my IM client to store message history. Hardcore users may build up a relatively large database fairly quickly; so I've been wondering whether the DB should 'live' in its own thread. I'm pretty much a virgin when it comes to threads here, but I don't want the DB to block the UI thread either. If I take this approach, then I need some sort of message passing mechanism, which could be fairly icky. Comments on this approach are requested.