Difference: CmsisRtos (8 vs. 9)

Revision 92020-08-24 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 93 to 92
 osThreadNew ( a1 a2 a3 -- u ) Create a thread and add it to Active Threads.
Added:
>
>
Start the knightrider with default parameters and print the thread ID:
' knightrider 0 0 osThreadNew . 536871016 ok.

Stop the thread with press SW1 or "536871016 osThreadTerminate drop"

536871016 osThreadTerminate drop ok.

Start the Nightrider with name="Knightrider" priority=48, stack_size=256:

' knightrider tib 0 osThreadNew
 See also osThreadNew

RTOS Support Functions

Line: 132 to 147
 

Thread Management

Thread Management
Changed:
<
<
  • osThreadNew
>
>
  • osThreadNew default Attributes if attr==NULL: name="", priority=24 (osPriorityNormal), stack_size=128
 
  • osThreadGetId
Added:
>
>
  • osThreadGetName
 
  • osThreadGetState
  • osThreadSetPriority
  • osThreadGetPriority
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback