diff options
Diffstat (limited to 'base/gp_nsync.c')
-rw-r--r-- | base/gp_nsync.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/base/gp_nsync.c b/base/gp_nsync.c index cb16fa30..8eb66dc6 100644 --- a/base/gp_nsync.c +++ b/base/gp_nsync.c @@ -18,6 +18,8 @@ #include "std.h" #include "gserrors.h" #include "gpsync.h" +#include "gp.h" +#include "globals.h" /* ------- Synchronization primitives -------- */ @@ -118,3 +120,26 @@ void gp_thread_finish(gp_thread_id thread) { } + +/* No threading -> no globals */ +gs_globals *gp_get_globals(void) +{ + return NULL; +} + +void gp_global_lock(gs_globals *globals) +{ +} + +void gp_global_unlock(gs_globals *globals) +{ +} + +void gp_set_debug_mem_ptr(gs_memory_t *mem) +{ +} + +gs_memory_t *gp_get_debug_mem_ptr(void) +{ + return NULL; +} |