Re: Info: Using MySQL as Mutex

2003-01-03 Thread Jeremy Zawodny
On Fri, Jan 03, 2003 at 11:10:38AM -0600, Dana Diederich wrote: > Yup, MySQL works quite well as a lock server; we've been using it as such > for years. Yeah, do we. > I would suggest looking at the get_lock() function specifically. It's > designed to do exactly what you're looking for, and it w

RE: Info: Using MySQL as Mutex

2003-01-03 Thread Dana Diederich
; -Original Message- > From: Michael T. Babcock [SMTP:[EMAIL PROTECTED]] > Sent: Friday, January 03, 2003 10:38 AM > To: [EMAIL PROTECTED] > Subject: Info: Using MySQL as Mutex > > Just as an FYI to fellow developpers out there (feeling generous today): > &

Info: Using MySQL as Mutex

2003-01-03 Thread Michael T. Babcock
Just as an FYI to fellow developpers out there (feeling generous today): How many times have you written a semaphore locking system for your programs and worried they weren't thread-safe, or wished you didn't have to? Well, if you're feeling especially lazy (as I often do) and you have MySQL o