Samples: Add a task to test HwSpinlock 1.00.07.37
authorJuan Gutierrez <jgutierrez@ti.com>
Wed, 3 Aug 2011 17:36:16 +0000 (12:36 -0500)
committerSuman Anna <s-anna@ti.com>
Wed, 21 Sep 2011 00:18:54 +0000 (19:18 -0500)
commit67d7574352c9d1e36f2492f637c80fcdd4b0e2f1
treefe1f9d02d98de0a3c7e73cfc43cca40fe07d597e
parentf56ec05c75f78e6ada5161a0bbde0b422e591362
Samples: Add a task to test HwSpinlock

A new file, hwspinlock_task.c is added and is used to test
various API provided by the HwSpinlock module like create &
delete; to lock & unlock.

Several tasks of different priorities are created in the test
task to compete against each other for different HwSpinlocks.
The HwSpinlock test task is added as part of test_omx test,
but is kept disabled by default.

Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
src/ti/examples/srvmgr/hwspinlock_task.c [new file with mode: 0644]
src/ti/examples/srvmgr/package.bld
src/ti/examples/srvmgr/test_omx.c