Am Freitag 14. April 2006 16:30 schrieb Sean McGranaghan:I am writing an RTDM driver that needs a simple task suspend/resume. I have a simple ioctl() that needs to initiate some io and then sleep until an interrupt occurs. I have been trying to use rt_task_suspend() and rt_task_resume().Try to avoid using skin functions other than those of RTDM inside drivers. Your problem can be solved with a semaphore with an initial value of 0. A rtdm_sem_down will make your task sleep. Inside the interrupt handler a rtdm_sem_up will wake up your task (after the interrupt handler has exited). Sebastian