- thread-specific-set! thread objprocedure
Stores obj into the thread's specific field. thread-specific-set! returns an unspecified value.
(thread-specific-set! (current-thread) "hello") ==> ''unspecified'' (thread-specific (current-thread)) ==> "hello"
Alternatively, you can use
(set! (thread-specific (current-thread)) "hello")