On Mon, 2003-02-24 at 14:01, Martin Virtel wrote: > On Mon, 24 Feb 2003, Jason Hildebrand wrote: > > > See http://webware.colorstudy.net/twiki/bin/view/Webware/MiddleKitAndWebKit > > for a "standard" way to set initialize MiddleKit from a WebKit app. > > > Thanks, that helps. > > To avoid problems, I have written a subclass of MySQLObjectStore with a > thread-safe get_lock that takes advantage of the get_lock function in MySQL.
> This is pure advisory locking, but it works and can be an advantage in > scenarios where several application servers might share a single database. If > you say there might be interest in this piece, I could post it the list, This sounds interesting, but wouldn't a store have to hold the lock for the entire duration that it is running? (because even after it has finished its queries, there would still presumably be MiddleObjects in memory, which could be modified). At what point does the store acquire the lock? When does it release the lock? peace, Jason ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
