in reply to Re: Perl forking and shared memory strangeness under Windows
in thread Perl forking and shared memory strangeness under Windows
#!C:/Perl/bin/perl -w use strict; use Data::Dumper; if( fork ) { require Win32::MMF::Shareable; my $ns = tie( my %share, 'Win32::MMF::Shareable', 'share' ) || die; sleep(1); $share{parent} = 1; print Dumper(\%share); } else { require Win32::MMF::Shareable; my $ns = tie( my %share, 'Win32::MMF::Shareable', 'share' ) || die; $share{child} = 1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Perl forking and shared memory strangeness under Windows
by BrowserUk (Patriarch) on Feb 23, 2004 at 08:12 UTC |