[Gllug] Sharing hash

Ian Norton bredroll at atari.org
Sat Apr 26 10:09:06 UTC 2003


hmm, looks intresting,

i have put nsql on the back burner while i do my exams, but ill see what i can
do :-)

Ian 

On Wed, Apr 16, 2003 at 11:05:23AM +0100, Richard Jones wrote:
> 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

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS dpu s--: a-- C++++ UL++ P+++ L+++ E--- W-- N+ o K w---
O M-- V-- PS++ PE-- Y+ PGP+ t+++ 5++ X++ R+++ !tv b DI D----
G++ e+ h++ r++ y+++
------END GEEK CODE BLOCK------
----- Message of the Hour ------
Moooo :-)


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list