* David Xu <[EMAIL PROTECTED]> [071024 19:40] wrote:
> Alfred Perlstein wrote:
> 
> >>thread_suspend_check() with SINGLE_BOUNDARY is used is only called
> >>in userret() where I don't think any code is still using the p_fd.
> >
> >
> >This is not an acceptable solution as it will deadlock unless all
> >threads exit the kernel.
> >
> 
> Where is deadlock ? thread_single(SINGLE_BOUNDARY) does not suspend
> sleeping thread, it will interrupt it.

If it does, it will give awful semantics, it's better to just
disallow this action with threads until the code is fixed.

-- 
- Alfred Perlstein
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to