file locking...

Frank Cox theatre at sasktel.net
Sun Mar 1 18:01:25 UTC 2009


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




More information about the fedora-list mailing list