Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Could not find how to perform per-thread initialization e.g. for sqlite #194
I've gone through the jester and httpbeast source, but could not find where / how to perform per-thread init, for example to open a sqlite3 connection for each thread.
Unless I have misunderstood, I need a
(alternatively, one could opt to open the sqlite3 database in
The default mode depends on sqlite3 compilation options. Here on my dev mac, it was compiled with
When the jester app is compiled with
It would be useful to be able to perform some sort of per-thread init from the jester side, e.g. creating a sqlite connection, amongst others.
For example, threadpools creates the worker threads at "init" time, then later modules are initialized that call something like