Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Flock, Seek & WinNT

by bart (Canon)
on Dec 31, 2002 at 10:42 UTC ( [id://223290] : note . print w/replies, xml ) Need Help??


in reply to Re: Re: Flock, Seek & WinNT
in thread Flock, Seek & WinNT

Hard to say if it will work on Win98, since that OS was never designed with multi-user access in mind.
An operating system does not have to be multiuser to need interlocks. flock() is for controlling simultaneous access which is possible with any multitasking operating system. Windows 95/98 are both (somewhat) capable of multitasking.
Yes, but still... Perl's flock() causes a fatal error on Win98:
flock() unimplemented on this platform
The idea to just stuff it in, "Hey I did my part", just doesn't work. Which is a shame.