[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: glibc-2.3.x: SIGRTMIN & kern_has_rtsigs() *WITHOUT* -lpthread



On Tue, Oct 22, 2002 at 01:17:51AM +0900, GOTO Masanori wrote:

    __libc_current_sigrtmin, kernel_has_rtsig?

glibc does:

#define SIGRTMIN __libc_current_sigrtmin()

__libc_current_sigrtmin()
{
	...
	if (!kernel_has_rtsig()) {
	... bork
	}
}

> Could you take us the test case which you get trouble with?

#include <signal.h>

main() { printf("SIGRTMIN %d\n", SIGRTMIN); }

will probably show the bug.

> 'info libc'

That's *not* a defined API for allocating RT Signal and doesn't tell
me much.


  --cw



Reply to: