mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 02:00:26 +02:00
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.
This commit is contained in:
parent
4251ae2e28
commit
0607ebbfcf
44 changed files with 233 additions and 215 deletions
|
@ -49,11 +49,11 @@ static int
|
|||
macro_print (SCM macro, SCM port, scm_print_state *pstate)
|
||||
{
|
||||
if (scm_is_false (SCM_MACRO_TYPE (macro)))
|
||||
scm_puts ("#<primitive-syntax-transformer ", port);
|
||||
scm_puts_unlocked ("#<primitive-syntax-transformer ", port);
|
||||
else
|
||||
scm_puts ("#<syntax-transformer ", port);
|
||||
scm_puts_unlocked ("#<syntax-transformer ", port);
|
||||
scm_iprin1 (scm_macro_name (macro), port, pstate);
|
||||
scm_putc ('>', port);
|
||||
scm_putc_unlocked ('>', port);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue