Hello, the attached code crashs, why ? The goal was to synchronize two rtl threads with kernel-2.2.14-rtl-2.2. The counter mechanism is working as we can see on the debug messages. After the screen was full of those messages, the box was rebooting. It's not clear for us why it's does. The source isn't using the periodic mode. If I see these problems, I guess that the problems from the thread "unwelcome reboot" does not regards to comedi. The only thing: inside the callback function there should not be a rtl_printf - thats kills the interrupt handler! Mostly the cursor disappears after insmod this module. Who can help ?? Thanks Olaf
- Re: [rtl] rtl pthread bug ?? (was unwelcome reboot) Olaf Petzold
- Re: [rtl] rtl pthread bug ?? (was unwelcome reboot) Masahiro Abe
- Re: [rtl] rtl pthread bug ?? (was unwelcome reboot) Michael Barabanov
- Re: [rtl] rtl pthread bug ?? (was unwelcome reboot) Olaf Petzold
- Re: [rtl] rtl pthread bug ?? (was unwelcome reboot) Olaf Petzold
- Re: [rtl] rtl pthread bug ?? (was unwelcome reb... Michael Barabanov
- Re: [rtl] rtl pthread bug ?? (was unwelcome reboot) yodaiken
- Re: [rtl] rtl pthread bug ?? (was unwelcome reboot) bionic
- Re: [rtl] rtl pthread bug ?? (was unwelcome reb... Tomasz Motylewski
- Re: [rtl] rtl pthread bug ?? (was unwelcome reboot) Inskip Thomas C.
- Re: [rtl] rtl pthread bug ?? (was unwelcome reboot) Olaf Petzold
comedi_callback_pthread.c.gz