csp_thread: Remove csp_thread_exit
We don't have any users of csp_thread_exit().  Remove it.
@@ -69,34 +69,17 @@ csp_posix_thread_create_static(pthread_t *new_thread, const char * const name,
void csp_posix_thread_exit(void);
-/**
- Exit current thread.
- @note Not supported on all platforms.
-*/
-inline void csp_thread_exit(void) {
- csp_posix_thread_exit();
-}
-
#elif (CSP_MACOSX)
int csp_macosx_thread_create(void *(*func)(void *), const char * const name, unsigned int stack_size, void * parameter, unsigned int priority, pthread_t * handle);
void csp_macosx_thread_exit(void);
-inline void csp_thread_exit(void) {
- csp_macosx_thread_exit();
-}
#elif (CSP_WINDOWS)
int csp_windows_thread_create(unsigned int (*func)(void *), const char * const name, unsigned int stack_size, void * parameter, unsigned int priority, HANDLE * handle);
void csp_windows_thread_exit(void);
-inline void csp_thread_exit(void) {
- csp_windows_thread_exit();
-}
#elif (CSP_FREERTOS)
int csp_freertos_thread_create(TaskFunction_t func, const char * const name, unsigned int stack_size, void * parameter, unsigned int priority, void ** handle);
void csp_freertos_thread_exit(void);
-inline void csp_thread_exit(void) {
- csp_freertos_thread_exit();
-}
#elif (CSP_ZEPHYR)
k_tid_t csp_zephyr_thread_create_static(k_tid_t *new_thread, const char * const name, char *stack, unsigned int stack_size, k_thread_entry_t func, void * parameter, unsigned int priority);
