|
|
AW: How to Kill a thread??????
|
|
08/13/2009 8:40 AM
post35900
|
AW: How to Kill a thread??????
from c/c++ you will use pthread_cancel(), see the ref manual
http://www.qnx.com/developers/docs/6.4.0/neutrino/lib_ref/p/pthread_cancel.html
from what I know there is no cmd line utilty that gives you this option.
You can use slay -T<tid> to get a signal delivered to specific thread, but that's something different ...
/hp
>-----Ursprüngliche Nachricht-----
>Von: Robin wood [mailto:community-noreply@qnx.com]
>Gesendet: Donnerstag, 13. August 2009 13:12
>An: momentics-community
>Betreff: How to Kill a thread??????
>
>Hi,
>
>Is there any commands to kill a particular thread in a process
>instead of a process.
>I use slay command to kill the process or to change the
>priority of the various thread of a process.
>
>I want to know a command to kill a thread and not a whole process.
>
>Thanks,
>Robert
>
>
>
>_______________________________________________
>
>QNX Momentics Community Support
>http://community.qnx.com/sf/go/post35882
>
>
*******************************************
Harman Becker Automotive Systems GmbH
Management Board: Dr. Klaus Blickle (Chairman), Dr. Udo Hüls, Michael Mauser
Chairman of the Supervisory Board: Ansgar Rempp | Domicile: Karlsbad |
Local Court Mannheim: Register No. 361395
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail
. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have
received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying,
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
|
|
|
|
|