Function: thread-name

thread-name is a function defined in thread.c.

Signature

(thread-name THREAD)

Documentation

Return the name of the THREAD.

The name is the same object that was passed to make-thread.

View in manual

Source Code

// Defined in /usr/src/emacs/src/thread.c
{
  struct thread_state *tstate;

  CHECK_THREAD (thread);
  tstate = XTHREAD (thread);

  return tstate->name;
}