summaryrefslogtreecommitdiff
path: root/libguile/strports.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-11-08 00:29:46 +0100
committerAndy Wingo <wingo@pobox.com>2011-11-08 00:55:01 +0100
commit4251ae2e282385be6d08b0fffab761fcc0fa93aa (patch)
tree1ed22a034053f088d63fa1c5bfd7f1dbb88a7043 /libguile/strports.c
parentc932ce0b559ceb7a14846241d7b1856c7c3eea3b (diff)
downloadguile-4251ae2e282385be6d08b0fffab761fcc0fa93aa.tar.gz
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.
Diffstat (limited to 'libguile/strports.c')
-rw-r--r--libguile/strports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/strports.c b/libguile/strports.c
index 2b3a5ea72..fc52a86e1 100644
--- a/libguile/strports.c
+++ b/libguile/strports.c
@@ -207,7 +207,7 @@ st_seek (SCM port, scm_t_off offset, int whence)
st_flush (port);
if (pt->rw_active == SCM_PORT_READ)
- scm_end_input (port);
+ scm_end_input_unlocked (port);
switch (whence)
{