2 Copyright
2006, 2007 Greg Pfeil
4 Distributed under the MIT license
(see LICENSE file
)
7 (in-package #:bordeaux-threads
)
11 (defun make-thread (function &key name
)
12 (declare (ignore name
))
13 (threads:create-thread function
))
15 (defun current-thread ()
16 threads
:*current-thread
*)
18 ;;; Introspection/debugging
20 (defun destroy-thread (thread)
21 (signal-error-if-current-thread thread
)
22 (threads:terminate-thread thread
))