Skip to content

Commit

Permalink
0.9.3.50:
Browse files Browse the repository at this point in the history
  * put back WITH-PINNED-OBJECTS into INTERRUPT-THREAD and kill some
    really rare memory faults
  • Loading branch information
Gabor Melis committed Aug 12, 2005
1 parent 51fb6a8 commit 9084330
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions src/code/target-thread.lisp
Expand Up @@ -551,11 +551,14 @@ won't like the effect."
#!+sb-thread
(let ((function (coerce function 'function)))
(multiple-value-bind (res err)
(sb!unix::syscall ("interrupt_thread"
system-area-pointer sb!alien:unsigned-long)
thread
(thread-%sap thread)
(sb!kernel:get-lisp-obj-address function))
;; protect against gcing just when the ub32 address is ready
;; to be passed to C
(sb!sys::with-pinned-objects (function)
(sb!unix::syscall ("interrupt_thread"
system-area-pointer sb!alien:unsigned-long)
thread
(thread-%sap thread)
(sb!kernel:get-lisp-obj-address function)))
(unless res
(error 'interrupt-thread-error :thread thread :errno err)))))

Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Expand Up @@ -17,4 +17,4 @@
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
"0.9.3.49"
"0.9.3.50"

0 comments on commit 9084330

Please sign in to comment.