From: Roberto Bielli <roberto.bielli@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] do rt_task_create after a deletion
Date: Wed, 31 Aug 2011 09:26:51 +0200 [thread overview]
Message-ID: <4E5DE23B.40402@domain.hid> (raw)
In-Reply-To: <4E5DDED0.8070806@domain.hid>
Hi,
i explain better. if i don't use rt_task_join i remove the flag
T_JOINABLE, so i wait the task termination with a rt_task_create that
return -EEXIST.
Thanks
Il 31/08/2011 09:12, Gilles Chanteperdrix ha scritto:
> On 08/31/2011 08:57 AM, Roberto Bielli wrote:
>> Hi,
>>
>> if i don't want to use rt_task_join to wait termination on a task,
> Then do not create the task with the T_JOINABLE flag.
>
>> is it
>> correct to use rt_task_create and wait until the return value is
>> different from -EEXIST after a deletion?
> I am not sure rt_task_create returns EEXIST when a task has been deleted
> but not joined. But in any case, the answer is no, a joinable task will
> not be joined automatically, only rt_task_join will cause it to be joined.
>
--
+------------------------------------------------------------------------------------------------+
Roberto Bielli
Sviluppo Software
Axel S.r.l.
Via Del Cannino, 3
21020 Crosio Della Valle
Varese - Italy
Telefono: +39 0332 949600
Fax: +39 0332 969315
E-mail: roberto.bielli@domain.hid
Web Site: www.axelsw.it
+------------------------------------------------------------------------------------------------+
Si precisa che le informazioni contenute in questo messaggio sono riservate e ad uso esclusivo del destinatario.
Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi,
dandocene gentilmente comunicazione. Grazie.
Informativa sul trattamento dei dati personali (D. Lgs. 196/2003).
I dati utilizzati per la spedizione del presente messaggio sono utilizzati da Axel S.r.l., titolare del trattamento,
per l'invio delle comunicazioni dei diversi settori aziendali, non essendo autorizzata la divulgazione a terzi.
Potrete rivolgere alla seguente mail richieste di verifica, rettifica o cancellazione dei Vostri dati: info@domain.hid
This e-mail and any attachments is confidential and may contain privileged information
intended for the addressee(s) only. Dissemination, copying, printing or use by anybody
else is unauthorised. If you are not the intended recipient,
please delete this message and any attachments and advise the sender
by return e-mail.Thank you.
+------------------------------------------------------------------------------------------------+
next prev parent reply other threads:[~2011-08-31 7:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-31 6:57 [Xenomai-core] do rt_task_create after a deletion Roberto Bielli
2011-08-31 7:12 ` Gilles Chanteperdrix
2011-08-31 7:26 ` Roberto Bielli [this message]
2011-08-31 9:07 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5DE23B.40402@domain.hid \
--to=roberto.bielli@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.