From b639e4d3643b8245b77bc8707a3a864221fad195 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 13 Jan 2017 00:00:47 -0800 Subject: Many fixes for Windows. It compiles, and some tests work. Windows is getting there. Needs a couple of more more hours to enable everything, especially IPC, and most of the work at this point is probably some combination of debug and tweaking things like error handling. --- src/core/thread.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/core/thread.c') diff --git a/src/core/thread.c b/src/core/thread.c index 4a871ede..50d63521 100644 --- a/src/core/thread.c +++ b/src/core/thread.c @@ -37,13 +37,6 @@ nni_mtx_unlock(nni_mtx *mtx) } -int -nni_mtx_trylock(nni_mtx *mtx) -{ - return (nni_plat_mtx_trylock(&mtx->mtx)); -} - - int nni_cv_init(nni_cv *cv, nni_mtx *mtx) { @@ -85,7 +78,7 @@ nni_cv_until(nni_cv *cv, nni_time until) void nni_cv_wake(nni_cv *cv) { - return (nni_plat_cv_wake(&cv->cv)); + nni_plat_cv_wake(&cv->cv); } -- cgit v1.2.3-70-g09d2