mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Function rename in task pool demo.
This commit is contained in:
parent
bb0e1f356d
commit
290c8cedfd
|
@ -52,7 +52,7 @@ one job. */
|
||||||
* any of the demos encounter any unexpected behaviour.
|
* any of the demos encounter any unexpected behaviour.
|
||||||
*/
|
*/
|
||||||
static void prvExample_BasicSingleJob( void );
|
static void prvExample_BasicSingleJob( void );
|
||||||
static void prvExample_DeferredSingleJob( void );
|
static void prvExample_DeferredJobAndCancellingJobs( void );
|
||||||
static void prvExample_BasicRecyclableJob( void );
|
static void prvExample_BasicRecyclableJob( void );
|
||||||
static void prvExample_ReuseRecyclableJobFromLowPriorityTask( void );
|
static void prvExample_ReuseRecyclableJobFromLowPriorityTask( void );
|
||||||
static void prvExample_ReuseRecyclableJobFromHighPriorityTask( void );
|
static void prvExample_ReuseRecyclableJobFromHighPriorityTask( void );
|
||||||
|
@ -147,7 +147,7 @@ uint32_t ulLoops = 0;
|
||||||
/* Demonstrate a job being scheduled to run at some time in the
|
/* Demonstrate a job being scheduled to run at some time in the
|
||||||
future, and how a job scheduled to run in the future can be cancelled if
|
future, and how a job scheduled to run in the future can be cancelled if
|
||||||
it has not yet started executing. */
|
it has not yet started executing. */
|
||||||
prvExample_DeferredSingleJob();
|
prvExample_DeferredJobAndCancellingJobs();
|
||||||
|
|
||||||
/* Demonstrate the most basic use of a recyclable job. This is similar
|
/* Demonstrate the most basic use of a recyclable job. This is similar
|
||||||
to prvExample_BasicSingleJob() but using a recyclable job. Creating a
|
to prvExample_BasicSingleJob() but using a recyclable job. Creating a
|
||||||
|
@ -250,7 +250,7 @@ IotTaskPoolJobStatus_t xJobStatus;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
static void prvExample_DeferredSingleJob( void )
|
static void prvExample_DeferredJobAndCancellingJobs( void )
|
||||||
{
|
{
|
||||||
IotTaskPoolJobStorage_t xJobStorage;
|
IotTaskPoolJobStorage_t xJobStorage;
|
||||||
IotTaskPoolJob_t xJob;
|
IotTaskPoolJob_t xJob;
|
||||||
|
|
Loading…
Reference in a new issue