[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: file locking...



On Sun, 01 Mar 2009 09:54:59 -0800
bruce wrote:

> i'm considering a web kind of app, where the webservice returns a group of
> files back to the requesting query. the webservice would have to quickly
> generate the list of files from the local dir, which is why i'm trying to
> figure out a "fast/efficient" approach for this scenario.

If I understand what you're trying to do, you need to use some sort of an "I'm
done" flag.  Have each process set a flag when it's done, and when all of
the flags from each process appear, then gather the files and do whatever
you're doing.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]