diff options
author | Andy Wingo <wingo@pobox.com> | 2016-11-01 22:33:30 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-11-01 22:33:30 +0100 |
commit | cfab7e3bf3f1128a9029c3e446ef93312706ce74 (patch) | |
tree | f265763b3d354c7f71cf672ccc44593f26706d3a /libguile/async.c | |
parent | c77ccc58fb216c7882e2dae3700f8490ffb40d42 (diff) | |
download | guile-cfab7e3bf3f1128a9029c3e446ef93312706ce74.tar.gz |
Mutexes instead of critical sections in stime.c
* libguile/stime.c (scm_current_time): No need for a critical section
around time().
(tz_lock): New mutex.
(scm_localtime): Use tz_lock in a dynwind. Fixes bug in which
critical section was never left on error.
(scm_gmtime, scm_mktime, scm_strftime, scm_strptime): Use a normal
mutex instead of a critical section.
Diffstat (limited to 'libguile/async.c')
0 files changed, 0 insertions, 0 deletions