bp_event
fd[i] = bp_event((void *)test_function, &attr);
fd1 = bp_event(__test_function, SIGIO);
fd2 = bp_event(sig_handler, SIGUSR1);