Technical Support
On-Line Manuals
RL-ARM User's Guide (MDK v4)
#include <rtl.h> OS_TID os_tsk_self (void);
The os_tsk_self function identifies the currently running task by returning its task ID.
The os_tsk_self function is in the RL-RTX library. The prototype is defined in rtl.h.
The os_tsk_self function returns the task identifier number (TID) of the currently running task.
isr_tsk_get, os_tsk_create, os_tsk_create_user
#include <rtl.h> OS_TID tsk1; __task void task1 (void) { tsk1 = os_tsk_self(); .. }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.