Re: bug or feature in userland thread library (O_NONBLOCK)

From: David Xu (davidxu_at_freebsd.org)
Date: 06/15/05

  • Next message: Rong-En Fan: "Re: [Fwd: cvs commit: src/sys/modules Makefile src/sys/conf files src/sys/modules/ath_rate_sample Makefile src/sys/i386/conf NOTES]"
    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"


  • Next message: Rong-En Fan: "Re: [Fwd: cvs commit: src/sys/modules Makefile src/sys/conf files src/sys/modules/ath_rate_sample Makefile src/sys/i386/conf NOTES]"

    Relevant Pages

    • Re: 1541LPT
      ... connect to a PC, or flash ram, and emulate the ... bugs beside the well known shift register issue (which ... say I implemented a workaround for such a bug. ... protection busters and heavy timing ...
      (comp.sys.cbm)
    • Re: Form.Close problem
      ... I can't reproduce the problem consistently in .NET 1.1, ... If the workaround presented by Dejan Jelovic is necesary, ... > of windows to the top level form. ... > internal interface IWinFormsHack{ ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Probleme mit Foreign Keys
      ... die Vermutung bestätigt zu bekommen. ... "das schreit nach Folgeproblemen" in den ... Die beiden aufgeführten Bugs (beide nicht geschlossen, ... Workaround) die Probleme hinterfragt, ein Troll? ...
      (de.comp.datenbanken.mysql)
    • Re: [PATCH] x86 ACPI: Blacklist two HP machines with buggy BIOSes (Re: 2.6.27-rc8+ - first i
      ... I am happy to fix any bugs I introduced myself (as much as one can be ... Linux distribution made on behalf of a hardware manufacturer. ... For the BIOS developers OS are like some piece of random hardware ... Just as the OS developer adds a workaround ...
      (Linux-Kernel)
    • Re: [PATCH] x86 ACPI: Blacklist two HP machines with buggy BIOSes (Re: 2.6.27-rc8+ - first i
      ... I am happy to fix any bugs I introduced myself (as much as one can ... of any vendor of a Linux distribution made on behalf of a hardware ... bugs like those of BIOS developers. ... Just as the OS developer adds a workaround for the ...
      (Linux-Kernel)

    Loading