Hey Olaf,
I think you've unnecessarily dereferenced the name of you thread code.
In create_daq_thread, you have>>
ret +=
pthread_create(..., &thread_code, ...);
What I think you want is>>
ret +=
pthread_create(..., thread_code, ...);
Hope that helps,
Chuck
PS- It might be that after 10 years I still don't properly
understand pointers and derefrencers, but it seems to me that
_your_ way is the way the pthread_create man page implies.
Who knows...
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/
- [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
- Re: [rtl] rtl pthread bug ?? (was unwelcome reb... Paolo Mantegazza
