What is error -61?

X Y xyzabc1010 at yahoo.com
Mon Jan 19 10:58:58 CST 2004


I think advisory locks is just adding

fd = open( "./foo", O_RDWR + O_EXLOCK + O_NONBLOCK );

Excuse my ignorance, but is this an OS lock?

thnx,
-- h

--- Ruslan Zasukhin <sunshine at public.kherson.ua>
wrote:
> on 1/19/04 8:34 PM, X Y at xyzabc1010 at yahoo.com
> wrote:
> 
> > Ruslan,
> > Thanks for the pointer. I was reading the TN, and
> was
> > wondering if you open the files and place and
> advisory
> > lock on it. I can then write code to check for the
> > advisory lock.
> 
> You mean OS LOCK on file?
> 
> No I do not do this.
> 
> reasons
> 
> 1) historically this was NOT needed for OS 9 and WIN
> 
> 2) if I add this now then this will little slow down
> WIN and OS 9.
> 
> 3) and we have now Vserver...
> 
> 
> -- 
> Best regards,
> Ruslan Zasukhin      [ I feel the need...the need
> for speed ]
>
-------------------------------------------------------------
> e-mail: ruslan at paradigmasoft.com
> web: http://www.paradigmasoft.com
> 
> To subscribe to the Valentina mail list go to:
> http://lists.macserve.net/mailman/listinfo/valentina
>
-------------------------------------------------------------
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


More information about the Valentina mailing list