pike.git/
src/
interpret.h
Branch:
Tag:
Non-build tags
All tags
No tags
2000-07-07
2000-07-07 03:01:24 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
b28dd174c990a441a4a497b146dfcc4d01a90ca3 (
14
lines) (+
13
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
comment added
Rev: src/interpret.h:1.50
5:
\*/ /*
-
* $Id: interpret.h,v 1.
49
2000/07/07 01:24
:14
hubbe Exp $
+
* $Id: interpret.h,v 1.
50
2000/07/07
03:
01:24 hubbe Exp $
*/ #ifndef INTERPRET_H #define INTERPRET_H
244:
extern struct callback_list evaluator_callbacks; extern void call_callback(struct callback_list *, void *);
+
/* Things to try:
+
* we could reduce thread swapping to a pointer operation if
+
* we do something like:
+
* #define Pike_interpreter (*Pike_interpreter_pointer)
+
*
+
* Since global variables are usually accessed through indirection
+
* anyways, it might not make any speed differance.
+
*
+
* The above define could also be used to facilitate dynamic loading
+
* on Win32..
+
*/
extern struct Pike_interpreter Pike_interpreter; #define Pike_sp Pike_interpreter.stack_pointer