Wolfgang Grandegger wrote: > Gilles Chanteperdrix wrote: >> Wolfgang Grandegger wrote: >>> This patch fixes type long overflows, invalid command line argument >>> types and gives the receiver and transmitter thread dedicated names. >>> >>> Signed-off-by: Wolfgang Grandegger <w...@denx.de> >>> >>> diff --git a/examples/rtdm/profiles/can/rtcan_rtt.c >>> b/examples/rtdm/profiles/can/rtcan_rtt.c >>> index 93c84a6..2280562 100644 >>> --- a/examples/rtdm/profiles/can/rtcan_rtt.c >>> +++ b/examples/rtdm/profiles/can/rtcan_rtt.c >>> @@ -94,6 +94,7 @@ void *transmitter(void *arg) >>> frame.can_id = can_id; >>> frame.can_dlc = sizeof(*rtt_time); >>> >>> + pthread_set_name_np(pthread_self(), "rtcan_rtt_transmitter"); >> Maybe we should put this between #ifdef __XENO__, so that the code >> compiles under plain posix too? > > Good idea but it requires a few more changes. See below:
Fine. Merged, thanks. -- Gilles. _______________________________________________ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core