On Thu, Apr 17, 2008 at 04:03:08PM -0700, Fred C wrote:
> I was wandering if there is somewhere an sqlobject 101 for threading  
> environment?

   My personal position is: I avoid threads like a plague.

   Other than that extreme position - SQLObject is mostly thread-safe,
there are people who successfully use it in multithreading TurboGears
applications.
   There is a controversial patch, its author claims without the patch
SQLObject hangs, and there are reports that SQLObject hangs with the patch.
The patch is now in SQLObject but will be removed in the next release
because the last bug report was the patch causes more harm then good. (See
why I avoid threads? Threads are evil by nature: everything in programming
is about separation of control and responsibility - methods, classes,
functions, modules, processes - and threads violate the law by allowing
a few processes to share the same process space and memory; that violation
leads to deadlocks, race conditions and subtle, hard to debug bugs.)

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to