~crc_/retroforth#67: 
nga-c: reduce global state

There is currently a lot of global state in the Nga C implementation. To facilitate some things (better multitasking, cleaner internal api), it would be beneficial to reduce this.

Status
RESOLVED IMPLEMENTED
Submitter
~crc_
Assigned to
No-one
Submitted
1 year, 5 months ago
Updated
9 months ago
Labels
No labels applied.

~rickcarlino 1 year, 5 months ago

As multitasking becomes more integrated, there may be a need for "task local" variables. This is something I've been thinking a lot about lately, especially with regard to how hooks would work in a heavily multitasked VM.

~crc_ REPORTED IMPLEMENTED 9 months ago

The global state is now removed, and all state is in a single struct which is passed between functions.

Register here or Log in to comment, or comment via email.