Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

xiper's scratchpad

by xiper (Friar)
on Jun 01, 2004 at 23:41 UTC ( #358831=scratchpad: print w/replies, xml ) Need Help??

#! /usr/bin/perl use strict; use Win32::MMF::Shareable; # v0.09c if( fork ) { sleep 1; tie( my %share, 'Win32::MMF::Shareable', 'share' ) || die; $share{parent} = 1; } else { tie( my %share, 'Win32::MMF::Shareable', 'share' ) || die; $share{child} = 1; } __END__ [Perl.exe crashes] Free to wrong pool 34530 not 34578 during global destruction. ---------------------------------------- Error seems to come from either of: C:\Perl\bin\perl58.dll (binary) C:\Perl\lib\CORE\vmem.h 207: Perl_warn(aTHX_ "Free to wrong pool %p + not %p",this,ptr->owner);

#! /usr/bin/perl use strict; use Win32::MMF::Shareable; $|++; tie( my $share, 'Win32::MMF::Shareable', 'share' ) || die; unless( fork ) { exit 0 } sleep 1; # make sure child exits before continuing print "----before\n"; # set/get crashes $share = 'bbb'; my $temp = $share; print "----after\n"; __END__ ----before [crash]
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-12-07 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?