[uClinux-dev] timer_settime fails (lock_timer detects different tgid)

Gerrit Binnenmars gerritbinnenmars at wanadoo.nl
Mon Jul 2 15:19:24 EDT 2007


Hello,

On my nios2 platform the timer_settime function fails if the timer_create function is called in another thread than the timer_settime(). The same code functions correctly on a desktop linux system.
Debugging the kernel showed that the lock_timer() fails because the timr->it_process->tgid differs from the current->tgid.
Is this an uclinux problem or is it specific for the nios2 or is there something wrong in my kernel config?

With kind regards,

Gerrit Binnenmars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20070702/07b40a94/attachment.html


More information about the uClinux-dev mailing list