All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Problem with tcb.handle and taskDesc.td_tid
@ 2008-08-26  9:45 Matthieu
  2008-08-26 12:44 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 9+ messages in thread
From: Matthieu @ 2008-08-26  9:45 UTC (permalink / raw)
  To: xenomai

Hi

I would like to understand the coherence between the task identifier of the
task control block and the task id given by taskDesk (function
taskInfoGet()). In fact, I init a task with taskInit, I get the tid using
tid=tcb.handle. The use of taskInfoGet(tid, taskDesc) gives me a
taskDesk.td_tid different from the tid.

I want to test if the task is suspended using taskIsSuspended(tid) or
taskIsSuspended(taskDesc.td_tid), but both get me  a 3d0001 errno (code
error of WIND_OBJ_ERR_BASE S_objLib_OBJ_ID_ERROR). The PID given by
/proc/xenomai/stat also has no connection. Idem with a ps -AfL

Thank you in advance for your explanations

Matthieu




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-08-28  7:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-26  9:45 [Xenomai-help] Problem with tcb.handle and taskDesc.td_tid Matthieu
2008-08-26 12:44 ` Gilles Chanteperdrix
2008-08-26 12:55   ` Gilles Chanteperdrix
2008-08-26 14:15     ` [Xenomai-help] " Matthieu
2008-08-26 14:37       ` [Xenomai-help] " Gilles Chanteperdrix
2008-08-27  7:07         ` [Xenomai-help] Re: " Matthieu
     [not found]         ` <6001ba171dd65d7fb2e8846949e76d94@domain.hid>
2008-08-27  7:09           ` [Xenomai-help] " Gilles Chanteperdrix
2008-08-27  8:09         ` Philippe Gerum
2008-08-28  7:00           ` [Xenomai-help] " Matthieu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.