Gentlemen,
    I believe that a pointer is diferent than a pointer to a pointer...
Tom

-----Original Message-----
From: Tomasz Motylewski <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Cc: Olaf Petzold <[EMAIL PROTECTED]>; RTLinux mailing list
<[EMAIL PROTECTED]>
Date: Friday, October 06, 2000 3:05 AM
Subject: Re: [rtl] rtl pthread bug ?? (was unwelcome reboot)


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

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