This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
FreeRTOS-Kernel/FreeRTOS-Plus/Demo/FreeRTOS_Plus_IoT_SDK/TaskPool/.project
Richard Barry e75b609c74 In small FreeRTOS applications it is unlikely there will be any task pools other than the system task pool. IotTaskPool_CreateRecyclableSystemJob() is therefore introduced to complement IotTaskPool_CreateRecyclableJob() that does not require the handle of the target task pool to be specified as a parameter. Likewise IotTaskPool_ScheduleSystemJob() is introduced to complement IotTaskPool_ScheduleJob() for the same reason.
IotTaskPool_CreateSystemTaskPool() calls synchronisation primitives, so cannot be called before the scheduler starts.  Add a configASSERT() to ensure the scheduler is running when it executes.
IotTaskPool_CreateSystemTaskPool() can conceivably be called from multiple different libraries that depend on the thread pool.  In this version _IotSystemTaskPool.running can be used to check the system task pool has not already been created.  If the task pool has been created simply return from IotTaskPool_CreateSystemTaskPool() instead of re-creating it (which would leak memory and leave orphaned tasks).
Call taskENTER_CRITICAL() and taskEXIT_CRITICAL() directly in place of mapping them to TASKPOOL_ENTER_CRITICAL() and TASKPOOL_EXIT_CRITICAL() in the same file.
Rename _timerThread() _timerCallback(), as it is a callback function and not a thread.
Remove the unused flags parameter from _scheduleInternal().
2019-07-01 17:05:20 +00:00

160 lines
5.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>RTOSDemo</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
<linkedResources>
<link>
<name>FreeRTOS-Plus-IoT-SDK</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/abstractions</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/c_sdk</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/event_groups.c</name>
<type>1</type>
<locationURI>FREERTOS_ROOT/FreeRTOS/Source/event_groups.c</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/include</name>
<type>2</type>
<locationURI>FREERTOS_ROOT/FreeRTOS/Source/include</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/list.c</name>
<type>1</type>
<locationURI>FREERTOS_ROOT/FreeRTOS/Source/list.c</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/portable</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/queue.c</name>
<type>1</type>
<locationURI>FREERTOS_ROOT/FreeRTOS/Source/queue.c</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/readme.txt</name>
<type>1</type>
<locationURI>FREERTOS_ROOT/FreeRTOS/Source/readme.txt</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/stream_buffer.c</name>
<type>1</type>
<locationURI>FREERTOS_ROOT/FreeRTOS/Source/stream_buffer.c</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/tasks.c</name>
<type>1</type>
<locationURI>FREERTOS_ROOT/FreeRTOS/Source/tasks.c</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/timers.c</name>
<type>1</type>
<locationURI>FREERTOS_ROOT/FreeRTOS/Source/timers.c</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/abstractions/platform</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/c_sdk/standard</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/portable/MSVC-MingW</name>
<type>2</type>
<locationURI>FREERTOS_ROOT/FreeRTOS/Source/portable/MSVC-MingW</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/portable/MemMang</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/abstractions/platform/freertos</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/abstractions/platform/include</name>
<type>2</type>
<locationURI>FREERTOS_ROOT/FreeRTOS-Plus/Source/FreeRTOS-Plus-IoT-SDK/abstractions/platform/include</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/c_sdk/standard/common</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS_Kernel_Source/portable/MemMang/heap_4.c</name>
<type>1</type>
<locationURI>FREERTOS_ROOT/FreeRTOS/Source/portable/MemMang/heap_4.c</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/abstractions/platform/freertos/include</name>
<type>2</type>
<locationURI>FREERTOS_ROOT/FreeRTOS-Plus/Source/FreeRTOS-Plus-IoT-SDK/abstractions/platform/freertos/include</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/c_sdk/standard/common/include</name>
<type>2</type>
<locationURI>FREERTOS_ROOT/FreeRTOS-Plus/Source/FreeRTOS-Plus-IoT-SDK/c_sdk/standard/common/include</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/c_sdk/standard/common/taskpool</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>FreeRTOS-Plus-IoT-SDK/c_sdk/standard/common/taskpool/iot_taskpool.c</name>
<type>1</type>
<locationURI>FREERTOS_ROOT/FreeRTOS-Plus/Source/FreeRTOS-Plus-IoT-SDK/c_sdk/standard/common/taskpool/iot_taskpool.c</locationURI>
</link>
</linkedResources>
<variableList>
<variable>
<name>FREERTOS_ROOT</name>
<value>$%7BPARENT-4-PROJECT_LOC%7D</value>
</variable>
</variableList>
</projectDescription>