summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2016-03-21 21:52:38 -0400
committerDavid Thompson <dthompson2@worcester.edu>2016-03-21 21:56:12 -0400
commit4410c8210392ba1f54d6670005cadb00ff189f04 (patch)
treec53ad4511b7db8d2bec5e61278fccc6b56bfcbb1 /examples
parentd0f26aea4f87391af77f5911c3e2ae19891287c8 (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 'examples')
0 files changed, 0 insertions, 0 deletions