Function: condition-name

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

Signature

(condition-name COND)

Documentation

Return the name of condition variable COND.

If no name was given when COND was created, return nil.

View in manual

Probably introduced at or before Emacs version 26.1.

Source Code

// Defined in /usr/src/emacs/src/thread.c
{
  struct Lisp_CondVar *cvar;

  CHECK_CONDVAR (cond);
  cvar = XCONDVAR (cond);

  return cvar->name;
}