From 5402f3277115d043158b1585a4bb67fc67fa0155 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 1 Jan 2017 20:07:56 -0800 Subject: Stack related fixes for valgrind platform test. --- src/platform/posix/posix_thread.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/platform') diff --git a/src/platform/posix/posix_thread.c b/src/platform/posix/posix_thread.c index 0a999326..02f0b058 100644 --- a/src/platform/posix/posix_thread.c +++ b/src/platform/posix/posix_thread.c @@ -20,12 +20,6 @@ #include #include -struct nni_thread { - pthread_t tid; - void * arg; - void (*func)(void *); -}; - static pthread_mutex_t nni_plat_lock = PTHREAD_MUTEX_INITIALIZER; static int nni_plat_inited = 0; static int nni_plat_forked = 0; @@ -45,6 +39,7 @@ nni_plat_nextid(void) return (id); } + int nni_plat_mtx_init(nni_plat_mtx *mtx) { -- cgit v1.2.3-70-g09d2