mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-15 08:10:17 +02:00
locking on port buffering operations
* libguile/ports.c (scm_fill_input_unlocked, scm_fill_input) (scm_end_input, scm_end_input_unlocked, scm_flush) (scm_flush_unlocked): Add locking and _unlocked variants. * libguile/filesys.c: * libguile/fports.c: * libguile/gdbint.c: * libguile/r6rs-ports.c: * libguile/read.c: * libguile/rw.c: Adapt callers to use _unlocked variants.
This commit is contained in:
parent
c932ce0b55
commit
4251ae2e28
10 changed files with 57 additions and 24 deletions
|
@ -213,7 +213,7 @@ gdb_print (SCM obj)
|
|||
{
|
||||
scm_t_port *pt = SCM_PTAB_ENTRY (gdb_output_port);
|
||||
|
||||
scm_flush (gdb_output_port);
|
||||
scm_flush_unlocked (gdb_output_port);
|
||||
*(pt->write_buf + pt->read_buf_size) = 0;
|
||||
SEND_STRING (pt->read_buf);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue