incerc sa afishez un text la intervale regulate de timp.. ;)

static int trigger(void *data)
{

     printk("<1> test\n");
     while (1) {
         current->state = TASK_INTERRUPTIBLE;
         schedule_timeout(HZ);
         current->state = TASK_RUNNING;
     }
}

void init_module(void)
{
     kernel_thread(trigger,NULL,CLONE_FS | CLONE_FILES | CLONE_SIGHAND);
     return;
}

void cleanup_module(void)
{}


Andrei Bozeanu
Network and Security Administrator - B&A Trading ISP
[EMAIL PROTECTED]

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui