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/

Reply via email to