Skip to content

Commit

Permalink
Sometimes the thread name is not simple?
Browse files Browse the repository at this point in the history
  • Loading branch information
phmarek committed Sep 11, 2023
1 parent 2760bfc commit 1d9ceb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swank/sbcl.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@ stack."
(sb-thread:make-mutex :name "thread id map lock"))

(defimplementation spawn (fn &key name)
(sb-thread:make-thread fn :name name))
(sb-thread:make-thread fn :name (coerce name 'simple-string)))

(defimplementation thread-id (thread)
(block thread-id
Expand Down

0 comments on commit 1d9ceb4

Please sign in to comment.