[rochester-pm-list] flock question

Justin C. Sherrill webmaster at rochester.rr.com
Thu Jun 17 10:37:59 CDT 1999


> Yes, if your file is flock()ed by another process, your current process
> will just wait until it's free.  It will wait at the flock().
>

Thanks for the help!

here's another one, then.  "<&=" is described (in Programming Perl, page
193) as possibly causing trouble if multiple filehandles share the same file
descriptor, so one filehandle getting closed may close the others.  If I
have multiple CGI instances running, could this cause a problem, or would
the descriptor be different every time?  (On Win32)

Justin C. Sherrill
Rochester Road Runner Webmaster
http://www.rochester.rr.com/
"Think slow, type fats"




More information about the Rochester-pm mailing list