pthread_suspend_np() and interrupt : system block
"pm.boyer" <[email protected]> Sun, 27 Mar 2005 23:40:31 +0200
| Newsgroups | gmane.linux.real-time.rtlinux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi ! I am trying to test a RT-driver for audio card Ensoniq ES1371. When i test the driver, the calling program which make a write(fd,buffer,len) to the driver block all the rt-system, when the write function do a pthread_suspend_np(pthread_self()) May be there is a mistake with the function pthread_suspend_np() and the fact that there is an hardware interrupt handler conneted ? ( the driver write data to a DMA buffer, and when the DMA ring-buffer become full, the driver must suspend themself to wait an interrupt from the audio card which read and free the buffer, and wake up the write function : But before, when the write function enter in pthread_suspend_np() all the system block : no activity in system, keyboard not respond ) Can you help me ? Thanks. _______________________________________________ Rtl mailing list [email protected] http://hq.fsmlabs.com/mailman/listinfo/rtl http:/www.rtlinux-gpl.org/