

© Copyright 1995 thru 2008 - The Mustang Works™. All Rights Reserved.
MustangWorks.com is designed and hosted by Aero3 Media.
MustangWorks.com is designed and hosted by Aero3 Media.
![]() |
#17 |
Registered Member
Join Date: Oct 1998
Location: Rogers, MN
Posts: 2,089
|
![]() I don't think I even mentioned Windows stuff in my last message.
![]() Regardless of how efficient the scheduler is in the OS, however, having tasks vying for resources by having them wait for an arbitrary, predetermined period of time is still a major problem because of the issue creating a race condition. I think you pretty much have what I am saying, except for the part about waiting only if queue files exist. The process will be extended a little, but would still be continuous. The program will never wait. As far as getting rid of the locking file, I went to PERL.ORG to see if I could find some info on file locking. Does the FLOCK <file handle>, 2 not work with your implementation of PERL? That would give you exclusive access to write to the file without needing to create a lock file. In the FAQ, their example was a page hit counter, so I'm pretty sure that is what I was looking for. If the FLOCK fails, run the ELSE code in the above pseudo code. If you use SQL Server 7, yes, it will be much easier. ![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
User's Rides... Think about it.... | Hammer | Modular Madness | 2 | 07-23-2002 06:20 PM |
Attn: Dan. "Users Rides" section only shows 2 users. | Fox Body | Blue Oval Lounge | 2 | 02-11-2001 01:11 AM |