ValGrind is a better example of a library using SIGUSR1 and SIGUSR2 than LinuxThreads (which seems to be defunct).