From 0607ebbfcf63dc81e4bc2b10f3a8c3bc0d348c09 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 8 Nov 2011 00:36:48 +0100 Subject: locking for putc, puts * libguile/ports.c (scm_putc, scm_puts): * libguile/ports.h (scm_putc_unlocked, scm_puts_unlocked): Separate into _unlocked and locked variants. Change all callers to use the _unlocked versions. --- libguile/weak-set.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libguile/weak-set.c') diff --git a/libguile/weak-set.c b/libguile/weak-set.c index 626b29086..53d22a3da 100644 --- a/libguile/weak-set.c +++ b/libguile/weak-set.c @@ -619,12 +619,12 @@ make_weak_set (unsigned long k) void scm_i_weak_set_print (SCM exp, SCM port, scm_print_state *pstate) { - scm_puts ("#<", port); - scm_puts ("weak-set ", port); + scm_puts_unlocked ("#<", port); + scm_puts_unlocked ("weak-set ", port); scm_uintprint (SCM_WEAK_SET (exp)->n_items, 10, port); - scm_putc ('/', port); + scm_putc_unlocked ('/', port); scm_uintprint (SCM_WEAK_SET (exp)->size, 10, port); - scm_puts (">", port); + scm_puts_unlocked (">", port); } static void -- cgit v1.2.3