Method code for $root.poll_semaphores()

[Turn off line numbering]
  1: arg type, @s;
  2: var i;
  3: 
  4: if (!caller().has_flag('core))
  5:     return;
  6: refresh();
  7: while (find i in (s) where (i.query_semaphore(type))) {
  8:     pause();
  9:     pause();
 10:     pause();
 11: }
 12: for i in (s)
 13:     i.poll_semaphore(type);

// Created as a part of ColdCore, see: @help Credit

Tlon