-
Notifications
You must be signed in to change notification settings - Fork 1
/
globals.lisp
47 lines (40 loc) · 1.12 KB
/
globals.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
;;;; globals.lisp
(in-package #:cl-pure-data)
(defvar *instance* nil
"Current PD instance.
If nil, PD is not yet initialized.")
(defvar *verbose* 1
"Verbose print state.")
(defvar *queued*
;; Stolen from bordeaux-threads.
#+(or armedbear
(and allegro multiprocessing)
(and clisp mt)
(and openmcl openmcl-native-threads)
(and cmu mp)
corman
(and ecl threads)
mkcl
lispworks
(and digitool ccl-5.1)
(and sbcl sb-thread)
scl) t
#-(or armedbear
(and allegro multiprocessing)
(and clisp mt)
(and openmcl openmcl-native-threads)
(and cmu mp)
corman
(and ecl threads)
mkcl
lispworks
(and digitool ccl-5.1)
(and sbcl sb-thread)
scl) nil
"Whether PD is initialized as queued.")
(defvar *patches* (make-hash-table :test #'equal)
"A table of all the opened patches (as path -> raw pointers hash table).")
(defvar *subscriptions* '()
"A list of the subscribed events (as raw pointers).")
(defvar *search-path* '()
"List of paths to search for external patches.")