Scheduled and Periodic Functions*schedule-function-verbose**periodic-function-verbose*GoTo Top

*periodic-function-verbose*   [Variable]

Purpose
Controls whether initiation and termination of periodic-function threads are printed as comments.

Package   :portable-threads

Module   :portable-threads

Value type   A generalized boolean

Initial value   nil

Description
The value of *periodic-function-verbose* can be changed globally to display the management of periodic functions.

See also
    kill-periodic-function
    spawn-periodic-function

Example
Schedule a simple periodic function with verbose printing enabled:

  > (setf *periodic-function-verbose* 't)
  t
  > (spawn-periodic-function #'(lambda () (print "Hello!")) 0.1 
      :name 'hello
      :count 2)
  ;; Spawning periodic-function thread for hello...
  #<thread Periodic Function hello>
  >
  "Hello!" 
  "Hello!" 
  ;; Exiting periodic-function thread hello
  >


The GBBopen Project


Scheduled and Periodic Functions*schedule-function-verbose**periodic-function-verbose*GoTo Top