From 3d092da662cede0e7380bcbbaf16109a032a0a30 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 26 Nov 1999 19:27:08 +0000 Subject: [PATCH] unposixfy calls to TSRM --- main/reentrancy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/reentrancy.c b/main/reentrancy.c index 2fc32f6e46..2d10618c4c 100644 --- a/main/reentrancy.c +++ b/main/reentrancy.c @@ -124,7 +124,7 @@ void reentrancy_startup(void) int i; for (i = 0; i < NUMBER_OF_LOCKS; i++) { - tsrm_mutex_init(reentrant_locks[i]); + reentrant_locks[i] = tsrm_mutex_alloc(); } } @@ -133,7 +133,7 @@ void reentrancy_shutdown(void) int i; for (i = 0; i < NUMBER_OF_LOCKS; i++) { - tsrm_mutex_destroy(reentrant_locks[i]); + tsrm_mutex_free(reentrant_locks[i]); } } -- 2.40.0