On Fri, 6 Oct 2000 [EMAIL PROTECTED] wrote:

> 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, ...);

In case of functions &thread_code and thread_code are the same pointers to
the function (special case - since thread_code does not have sense without
brackets, it is assumed to be &thread_code)

--
Tomek

-- [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