Bachman Kharazmi wrote:
> Sorry I didn't paste my code, http://pastebin.ca/694397
> The output from it is:
> sandbox:/home/bkw/code/driver# ./simpledriver
> 0
> test1
>
> And then it exits, no test2 printed at all.. :/
> And nothing in the while loop seem to write to the serialport as I expected.
>
> what am I doing wrong?
You are returning from the main thread, which terminates the whole application.
--
Gilles Chanteperdrix.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help