Possible race in interruptible_sleep_on_timeout()

2001-05-16 Thread Richard B. Johnson
I lifted the following kernel-thread code from ../linux/drivers/net/8139too.c, just added a procedure to call. static int gpib_thread(void *unused) { unsigned long timeout; daemonize(); spin_lock_irq(>sigmask_lock); sigemptyset(>blocked); recalc_sigpending(current);

Possible race in interruptible_sleep_on_timeout()

2001-05-16 Thread Richard B. Johnson
I lifted the following kernel-thread code from ../linux/drivers/net/8139too.c, just added a procedure to call. static int gpib_thread(void *unused) { unsigned long timeout; daemonize(); spin_lock_irq(current-sigmask_lock); sigemptyset(current-blocked);