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);
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);
2 matches
Mail list logo