Hi Gary,
best approach is to run a local server and then use client sessions. If you dont want to run a server, you need one seperate context for each thread.
-- Andreas
Am 20.10.2012 um 17:53 schrieb The Trainspotter:
Hi,
I've read through the online example on server concurrency, however, currently I'm not running a BaseXServer instance I'm just running things locally. I want multiple threads in my application to be able to query the database at once without treading on each others toes. What's the best approach for doing this?
I have tried querying the database using different threads but I keep getting internal BaseX errors which leads me to think I'm going about this the wrong way.
Cheers Gary _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk