diff options
| author | Scott Larson <[email protected]> | 2020-09-30 15:42:41 -0700 |
|---|---|---|
| committer | Scott Larson <[email protected]> | 2020-09-30 15:42:41 -0700 |
| commit | 1b5816a206016d06128bd5e9afa7fbf8f09b0847 (patch) | |
| tree | 132c61289efdad36341f7992e1109dd96e9bbf94 /ports/linux/gnu/src/tx_thread_stack_build.c | |
| parent | 7287542cc851225544d0914375a9746aa866d1fb (diff) | |
6.1 minor release
Diffstat (limited to 'ports/linux/gnu/src/tx_thread_stack_build.c')
| -rw-r--r-- | ports/linux/gnu/src/tx_thread_stack_build.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ports/linux/gnu/src/tx_thread_stack_build.c b/ports/linux/gnu/src/tx_thread_stack_build.c index b18ae2fb..b9a268d2 100644 --- a/ports/linux/gnu/src/tx_thread_stack_build.c +++ b/ports/linux/gnu/src/tx_thread_stack_build.c @@ -42,7 +42,7 @@ void *_tx_linux_thread_entry(void *ptr); /* FUNCTION RELEASE */ /* */ /* _tx_thread_stack_build Linux/GNU */ -/* 6.0.1 */ +/* 6.1 */ /* AUTHOR */ /* */ /* William E. Lamie, Microsoft Corporation */ @@ -80,13 +80,15 @@ void *_tx_linux_thread_entry(void *ptr); /* */ /* DATE NAME DESCRIPTION */ /* */ -/* 06-30-2020 William E. Lamie Initial Version 6.0.1 */ +/* 09-30-2020 William E. Lamie Initial Version 6.1 */ /* */ /**************************************************************************/ VOID _tx_thread_stack_build(TX_THREAD *thread_ptr, VOID (*function_ptr)(VOID)) { struct sched_param sp; + (VOID)function_ptr; + /* Create the run semaphore for the thread. This will allow the scheduler control over when the thread actually runs. */ if(sem_init(&thread_ptr -> tx_thread_linux_thread_run_semaphore, 0, 0)) |
