Date: Thu, 24 Feb 2005 09:30:31 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: river_robert@yahoo.com.cn Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: "sleep" "select" system call not work correctly when linking with multithread libray--FreeBSD 4.5 Message-ID: <20050224.093031.25156907.imp@bsdimp.com> In-Reply-To: <20050224062755.6A3A143D72@mx1.FreeBSD.org> References: <20050224062755.6A3A143D72@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20050224062755.6A3A143D72@mx1.FreeBSD.org>
"River" <river_robert@yahoo.com.cn> writes:
: This is select testing program-- When time is set backward,the
: program linked with "-pthread" option did not continue printing
: anything. But using the program linked with standard library,
: printing did not affected by system time backward and all is OK.
This is a well know bug. The problem is that the threading library
unwisely uses absolute times for the various events...
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050224.093031.25156907.imp>
