[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] rtl pthread bug ?? (was unwelcome reboot)



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