On 10-May-01 Terry Lambert wrote:
> Seigo Tanimura wrote:
>> A quick and hopefully efficient solution to those problems is to
>> fhold() struct file's first, then enter polling loop. That seems much
>> cheaper than to work on free()ing a vnode or a socket with holding a
>> process lock, provided that struct filedesc and file are protected
>> properly (and we have to do it anyway).
> Let me once again point out that fhold(), like crhold(),
> should act as an l-valued function that takes an r-value
> as an "argument", as in:
>       a = crhold(b);
>       q = fhold(r);
> etc. (for all such functions).
> [ snip ]

I agree with all this, I just haven't had the time to sit down and do it.

> -- Terry


John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to