[Gllug] Sharing hash
Richard Jones
rich at annexia.org
Wed Apr 16 10:05:23 UTC 2003
On Wed, Apr 16, 2003 at 10:49:25AM +0100, Ian Norton wrote:
> yes, the hash is created before i fork, but i want the changes in the hash made
> by the children to be retained when the child dies,
I doubt that this is possible, except by tieing the hash to a file, and
even then multiple access *might* not be safe.
What about using a recent version of Perl and threads instead of processes?
> Just in case you wonder what i'm up to, I am writing a database server in perl,
> (very simple one with a limited yet useful command system)
>
> http://gwi.darkspace.org.uk
>
> It is called 'NSQL' (not sql)
See also: http://www.linux.it/~carlos/nosql/index.html#whatis
Rich.
--
Richard Jones, Red Hat Inc. (London) and Merjis Ltd. http://www.merjis.com/
http://www.annexia.org/ Freshmeat projects: http://freshmeat.net/users/rwmj
C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes,
trees, string funcs, pool allocator: http://www.annexia.org/freeware/c2lib/
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list