Changeset 15634
- Timestamp:
- 02/08/23 16:37:24 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/threads.lisp
r15436 r15634 31 31 ;;; exception statement from your version. 32 32 33 (in-package #:threads) 34 33 (in-package threads) 35 34 (export '(make-mailbox mailbox-send mailbox-empty-p 36 35 mailbox-read mailbox-peek 37 36 make-thread-lock with-thread-lock 37 thread-function-wrapper 38 38 current-thread yield 39 make-mutex get-mutex release-mutex with-mutex)) 39 make-mutex get-mutex release-mutex with-mutex 40 get-java-thread)) 41 40 42 ;; 41 43 ;; MAKE-THREAD helper to establish restarts 42 44 ;; 43 45 44 (defun thread-function-wrapper (fun) 46 (defun thread-function-wrapper (function) 47 "Call FUNCTION with a simple abort restart" 45 48 (restart-case 46 (funcall fun )49 (funcall function) 47 50 (abort () :report "Abort thread."))) 48 51
Note: See TracChangeset
for help on using the changeset viewer.