URL
https://opencores.org/ocsvn/plasma/plasma/trunk
[/] [plasma/] [trunk/] [kernel/] [rtos.c] - Diff between revs 282 and 302
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 282 |
Rev 302 |
Line 903... |
Line 903... |
OS_SemaphorePend(SemaphoreLock, OS_WAIT_FOREVER);
|
OS_SemaphorePend(SemaphoreLock, OS_WAIT_FOREVER);
|
if(jobThread == NULL)
|
if(jobThread == NULL)
|
{
|
{
|
jobQueue = OS_MQueueCreate("job", 100, 16);
|
jobQueue = OS_MQueueCreate("job", 100, 16);
|
jobThread = OS_ThreadCreate("job", JobThread, NULL, 150, 4000);
|
jobThread = OS_ThreadCreate("job", JobThread, NULL, 150, 4000);
|
|
OS_ThreadCreate("job2", JobThread, NULL, 150, 4000);
|
|
OS_ThreadCreate("job3", JobThread, NULL, 150, 4000);
|
}
|
}
|
OS_SemaphorePost(SemaphoreLock);
|
OS_SemaphorePost(SemaphoreLock);
|
|
|
message[0] = (uint32)funcPtr;
|
message[0] = (uint32)funcPtr;
|
message[1] = (uint32)arg0;
|
message[1] = (uint32)arg0;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.