Hi Alexis, I don't know how I missed this reply back when it first came out and I'm very late to the party on replying, but I did want to make sure I'd said thank you. I don't know how I missed this page but if I figure it out I'll mail the list with the appropriate pointer.
Dave On Thursday, May 25, 2017 at 4:40:31 PM UTC-4, Alexis King wrote: > > > On May 25, 2017, at 1:16 PM, David Storrs <david....@gmail.com > <javascript:>> wrote: > > > > 1) What can I do with a thread descriptor? > > The section on Threads in the reference[1] includes all sorts of > functions that operate on thread descriptors, including but not > limited to thread-suspend, thread-resume, kill-thread, break-thread, > and thread-wait. > > > 2) Is there a way to get the thread descriptor from inside the thread? > > Yes, use (current-thread).[2] From the documentation: > > > Returns the thread descriptor for the currently executing thread. > > If you just try searching for “thread descriptor” in the documentation, > the only result I find is the page that documents these functions > and forms. I’m curious: did you find the term somewhere else that > wasn’t properly linked to the reference? If so, that should probably > be fixed. > > Alexis > > [1]: http://docs.racket-lang.org/reference/threads.html > [2]: > http://docs.racket-lang.org/reference/threads.html#%28def._%28%28quote._~23~25kernel%29._current-thread%29%29 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.