diff options
author | David Thompson <dthompson2@worcester.edu> | 2016-03-21 21:52:38 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2016-03-21 21:56:12 -0400 |
commit | 4410c8210392ba1f54d6670005cadb00ff189f04 (patch) | |
tree | c53ad4511b7db8d2bec5e61278fccc6b56bfcbb1 /doc/api/utils.texi | |
parent | d0f26aea4f87391af77f5911c3e2ae19891287c8 (diff) |
signal: Fix signal-sample.
signal-sample had a nasty nondeterministic bug where the newly created
signal might actually be GC'd before it could be returned to the caller.
This was able to happen because no reference to the signal was help
between creating the signal and returning it.
Reported-By: David Hashe <david.hashe@dhashe.com>
* sly/signal.scm (signal-sample): Ensure that the garbage collector
cannot reclaim the new signal before it is returned.
Diffstat (limited to 'doc/api/utils.texi')
0 files changed, 0 insertions, 0 deletions