From: rtel Date: Tue, 16 Jul 2019 18:19:44 +0000 (+0000) Subject: Function rename in task pool demo. X-Git-Tag: V10.3.0~138 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d702007e2ef8342b0801611edba0c4d817749829;p=freertos Function rename in task pool demo. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2683 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_IoT_SDK/task_pool/DemoTasks/SimpleTaskPoolExamples.c b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_IoT_SDK/task_pool/DemoTasks/SimpleTaskPoolExamples.c index ad15b13be..7b7f0cd2e 100644 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_IoT_SDK/task_pool/DemoTasks/SimpleTaskPoolExamples.c +++ b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_IoT_SDK/task_pool/DemoTasks/SimpleTaskPoolExamples.c @@ -52,7 +52,7 @@ one job. */ * any of the demos encounter any unexpected behaviour. */ static void prvExample_BasicSingleJob( void ); -static void prvExample_DeferredSingleJob( void ); +static void prvExample_DeferredJobAndCancellingJobs( void ); static void prvExample_BasicRecyclableJob( void ); static void prvExample_ReuseRecyclableJobFromLowPriorityTask( 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 future, and how a job scheduled to run in the future can be cancelled if it has not yet started executing. */ - prvExample_DeferredSingleJob(); + prvExample_DeferredJobAndCancellingJobs(); /* Demonstrate the most basic use of a recyclable job. This is similar 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; IotTaskPoolJob_t xJob;