Re: bug or feature in userland thread library (O_NONBLOCK)
From: David Xu (davidxu_at_freebsd.org)
Date: 06/15/05
- Previous message: Jeremie Le Hen: "Re: panic while mkdir(2) in msdosfs (deget())"
- In reply to: Luigi Rizzo: "bug or feature in userland thread library (O_NONBLOCK)"
- Next in thread: Stephen McKay: "Re: bug or feature in userland thread library (O_NONBLOCK)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Jun 2005 21:11:06 +0800 To: Luigi Rizzo <rizzo@icir.org>
Luigi Rizzo wrote:
>Probably a known issue, but I thought it worthwhile reporting it,
>if nothing else for archival purposes.
>
>I think our userland thread library (libc_r) has some bugs in
>handling descriptors. I can reproduce the behaviour on -current
>and 4.x, and I believe it applies to 5.x too.
>
>Following is a description of the problem and some code to replicate it
>The code includes a workaround but it is not particularly nice.
>
>Any better ideas ? I am not sure on what to do, but perhaps the
>only sensible thing to do is to add a note with this workaround
>(or better ones, if available) to our pthreads manpage
>
>
>
libc_r is deprecated on -CURRENT, I think start from 6.0, libc_r really
should be moved to ports. ;)
David Xu
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Jeremie Le Hen: "Re: panic while mkdir(2) in msdosfs (deget())"
- In reply to: Luigi Rizzo: "bug or feature in userland thread library (O_NONBLOCK)"
- Next in thread: Stephen McKay: "Re: bug or feature in userland thread library (O_NONBLOCK)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|