diff options
author | Michael Gran <spk121@yahoo.com> | 2009-08-19 21:47:19 -0700 |
---|---|---|
committer | Michael Gran <spk121@yahoo.com> | 2009-08-19 22:15:41 -0700 |
commit | 06b961904de0c3007763b0e5bd21cc9f8afebe76 (patch) | |
tree | ff5a4422fadab58b77cb551ad9a2d7185c2ebb08 /libguile/vm-i-system.c | |
parent | 2759c092d0fe200dd5abee9b1e8a7f5123e25e5d (diff) | |
download | guile-06b961904de0c3007763b0e5bd21cc9f8afebe76.tar.gz |
Avoid possible mutex hang on error message output
Avoid possible mutex hang when scm_lfwrite_substr is used in error
message output and when an error has caused the stringbuf write
mutex to not be unlocked. scm_lfwrite_substr makes a substring:
making a substring requires that mutex.
Hopefully, all cases of non-local jumps when the stringbuf write
lock is held have been eliminated anyway, making this O.B.E.
* libguile/ports.c (scm_lfwrite_str): include functionality in this
function instead of making this a special case of scm_lfwrite_substr
Diffstat (limited to 'libguile/vm-i-system.c')
0 files changed, 0 insertions, 0 deletions