summaryrefslogtreecommitdiff
path: root/libguile/ports.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-12-06 19:06:13 +0100
committerAndy Wingo <wingo@pobox.com>2011-12-06 19:06:13 +0100
commit8806b4c28a7919b236d10751ebcb15f4a503b08c (patch)
tree2ba164bd165271d5efb1ed1762c674e07b70ee6b /libguile/ports.c
parentf5b870d81650178a42e4794fd7ccc63751cb02cc (diff)
downloadguile-8806b4c28a7919b236d10751ebcb15f4a503b08c.tar.gz
enable port locking
* libguile/ports.c (scm_c_make_port_with_encoding): Enable port locking.
Diffstat (limited to 'libguile/ports.c')
-rw-r--r--libguile/ports.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libguile/ports.c b/libguile/ports.c
index fcf4122a8..bee2c8687 100644
--- a/libguile/ports.c
+++ b/libguile/ports.c
@@ -582,11 +582,8 @@ scm_c_make_port_with_encoding (scm_t_bits tag, unsigned long mode_bits,
SCM_SET_CELL_WORD_1 (ret, (scm_t_bits) entry);
SCM_SET_CELL_WORD_2 (ret, (scm_t_bits) ptob);
- entry->lock = NULL;
-#if 0
entry->lock = scm_gc_malloc_pointerless (sizeof (*entry->lock), "port lock");
scm_i_pthread_mutex_init (entry->lock, scm_i_pthread_mutexattr_recursive);
-#endif
entry->file_name = SCM_BOOL_F;
entry->rw_active = SCM_PORT_NEITHER;