[EMAIL PROTECTED] wrote:
> On Tue, 9 Apr 2002 [EMAIL PROTECTED] wrote:
> 
> > I am writing my own database access at the moment. What 
> sorts of "gotchas"  
> > do I need to worry about? I am a little fuzzy as to how 
> WebKit works and
> > what issues I face.
> 
> Do I need to worry about threading issues, etc?

Yes.  WebKit does use multiple threads, so you do have to worry about
threading issues.  Any given servlet _instance_ is only run in a single
thread at a time, which works around some, but not all, threading issues.
But there will be multiple instances of a given servlet class running in
separate threads.

MiscUtils/DbPool.py provides a database connection pool that is designed to
work safely in multiple threads.  You'll want to study it and possibly use
it.

- Geoff

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to