interrupted syscalls run asyncs before throwing syserror
authorAndy Wingo <wingo@pobox.com>
Sun, 10 Oct 2010 09:24:29 +0000 (11:24 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 10 Oct 2010 09:25:50 +0000 (11:25 +0200)
commit41e826492a44d66b6056818c5718164f1d7d065b
treeaafc6d41057abab5447b030e92ff235b01313a13
parenta627100bf39c64f986536e9faff564e5602e0efa
interrupted syscalls run asyncs before throwing syserror

* libguile/error.c (scm_syserror, scm_syserror_msg): Run pending pending
  asyncs before throwing the error, as one of the asyncs might be a
  signal handler. But there is unfortunately a race here, as noted in a
  comment.
libguile/error.c