-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmutex_readme.txt
27 lines (22 loc) · 927 Bytes
/
mutex_readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Example Summary
------------------
This example shows the use of two tasks and one semaphore to perform
mutually exclusive data access.
Example Usage
--------------
Run the application, two tasks will run and print their running status to the
console.
Application Design Details
-------------------------
Two tasks are constructed within main() with the first task set to a higher
priority than the second.
Each task attempts to perform work on a locked resourses utilizing the
Semaphore module. As such, when a resource is in use, the task will be
placed in the pending state until the resource lock is freed.
Note: For IAR users using any SensorTag(STK) Board, the XDS110 debugger must be
selected with the 4-wire JTAG connection within your projects' debugger
configuration.
References
-----------
For more help, search either the SYS/BIOS User Guide or the TIRTOS
Getting Started Guide within your TIRTOS installation.