Clarify that JOIN-THREAD passes through the return values of the thread function.
[bordeaux-threads.git] / src / impl-corman.lisp
blobdad45247990cab282bb8bab881a916b318cd1d5e
1 ;;;; -*- indent-tabs-mode: nil -*-
3 #|
4 Copyright 2006, 2007 Greg Pfeil
6 Distributed under the MIT license (see LICENSE file)
7 |#
9 (in-package #:bordeaux-threads)
11 ;;; Thread Creation
13 (defun %make-thread (function name)
14 (declare (ignore name))
15 (threads:create-thread function))
17 (defun current-thread ()
18 threads:*current-thread*)
20 ;;; Introspection/debugging
22 (defun destroy-thread (thread)
23 (signal-error-if-current-thread thread)
24 (threads:terminate-thread thread))
26 (mark-supported)