1. Can i use in HWI interrupt-handler synchronisation module like semaphore or event?
2. Can i change scheduling strategy in Task manager settings such as policy of ousting threads(tasks)? Does Task Manager has such settings?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
1. Can i use in HWI interrupt-handler synchronisation module like semaphore or event?
2. Can i change scheduling strategy in Task manager settings such as policy of ousting threads(tasks)? Does Task Manager has such settings?
Hi Denis,
Please check the bios6.chm file under the SYS/BIOS version you are using (like - \bios_6_35_01_29\docs) than in search look for semaphore than for each module you have a table stating when you can use it, for example regarding the semaphore you will see the below,
Thanks,
HR
Hi Denis,
Please go through SYS/BIOS on-line training on Interrupts, Tasks & Semaphores from below link.
http://processors.wiki.ti.com/index.php/SYS/BIOS_Training:_Introduction_to_SYS/BIOS
http://processors.wiki.ti.com/index.php/SYS/BIOS_Online_Training
This is a Multi-core device forum, please post us the device related issues & queries to support better.
For SYS/BIOS related queries contact - http://e2e.ti.com/support/embedded/tirtos/f/355.aspx
For CCS related queries contact - http://e2e.ti.com/support/development_tools/code_composer_studio/f/81.aspx
I hope above information helps.
Thanks.
About second question:
I'm looked sysbios task tutorial. As i'm understand, where is no another way to control Task Manager besides enable/disable?
I'm talking about Task Manager/Scheduler.
In my program to switch between threads I use Task_yield() or Semaphore mechanism. But I want to Task Manager automatically switched threads without my intervention. So if the task is in a loop waiting for response from the interface, then after a fixed time period Task Manager should switch it to other runnable task (task with state "ready"). Multitasking in Windows for example. In Windows Task Manager switch tasks after equal periods of time (quantum). In other words i'm want setup Task Manager settings to automatically switch threads on the end time slice (time interval, time quantum).
Sorry my bad English. :(
Well, *something* needs to provide the energy to the kernel to initiate a change in context from one thread to another. A SYS/BIOS application can implement time-slicing in a way that does not require any code within the tasks themselves. In this case, all tasks would be operating at the same priority and a timer would be used to post a semaphore on a regular and constant interval.
An example of this implementation is given in the SYS/BIOS User's Guide.