Commit Graph

28 Commits

Author SHA1 Message Date
hyunghwan.chung
7779229b52 changed some directives from symbols to plain words including class, method, pooldic, dcl.
introduced stix_pfrc_t as a return code type from a primitive function
2017-01-06 09:53:40 +00:00
hyunghwan.chung
27f00148a1 added a new reserved word - thisProcess 2016-07-05 15:22:29 +00:00
hyunghwan.chung
a22f5ea0ab enhanced unwind handling upon process termination 2016-07-04 15:36:10 +00:00
hyunghwan.chung
436babff3c enhanced the vm logging interface
attempted to execute ensure blocks on process termination. (wip)
2016-07-01 16:31:47 +00:00
hyunghwan.chung
6a32e4278c removed unneeded code and reimplemented Exception>>retry,resume,return 2016-06-24 14:29:43 +00:00
hyunghwan.chung
73885dc552 removed the ensure_block field from the context object and added the <ensure> code to the preamble field of a method. 2016-06-22 03:23:14 +00:00
hyunghwan.chung
f22b896ed2 fixed the bug not popping an argument in the _integer_inttostr primitive.
added a new primitive _processor_return_to_and_eval to support proper exception handling
2016-06-13 15:52:09 +00:00
hyunghwan.chung
50776d945f added Semaphore>>forMutualExclusion 2016-05-18 15:10:00 +00:00
hyunghwan.chung
38ccdbed9d fixed the stack growth issue when manipulating the instruction pointer by intruducing a new primitive method MethodContext>>goto: 2016-05-18 11:10:54 +00:00
hyunghwan.chung
717ffcbdd9 some more work on process switching and exception handling 2016-05-17 15:12:27 +00:00
hyunghwan.chung
389203b6e4 reset the sender field to stix->_nil when creating a new process over a block context .
touched up exception handling implementation code
2016-05-02 13:50:42 +00:00
hyunghwan.chung
77f0bfad5d added some more code to support exception handling 2016-03-28 13:25:36 +00:00
hyunghwan.chung
6487143a59 added simple time calculation types/functiosn/macros.
fixed a bug in timed semaphore signalling
2016-03-24 14:58:47 +00:00
hyunghwan.chung
d6ee9e5b67 added code to handle timed semaphore singalling 2016-03-22 14:18:07 +00:00
hyunghwan.chung
00a4fd78d6 changed Array to use 0-based index 2016-03-16 14:05:34 +00:00
hyunghwan.chung
117473f638 fixed a bug in stix_oowtoint()
fixed bugs of SemaphoreHeap
2016-03-16 10:13:03 +00:00
hyunghwan.chung
fabc9afee8 added SemaphoreHeap 2016-03-16 02:27:18 +00:00
hyunghwan.chung
b3b9af86fd changed the process list of a semaphore to a doubly linked list 2016-02-29 17:26:40 +00:00
hyunghwan.chung
55a43371d5 added some code for implementing semaphore 2016-02-29 15:27:10 +00:00
hyunghwan.chung
351239bdf4 changed the list manupluation style in managing process switching 2016-02-19 15:52:56 +00:00
hyunghwan.chung
734082db91 added some code to implement semaphores 2016-02-18 17:49:56 +00:00
hyunghwan.chung
df226a4790 added the _process_terminate primitive 2016-02-14 06:35:18 +00:00
hyunghwan.chung
f32e58f4b3 fixed a compiler bug that omitted the RETURN_FROM_BLOCK instruction when an empty block is encountered.
added more code for supporting the process stack
2016-02-12 16:23:26 +00:00
hyunghwan.chung
3d937334d8 touched up code a bit 2016-02-11 14:26:26 +00:00
hyunghwan.chung
2aef6b9bab added the new process primitive to create a process with a block as if it has got the value message 2015-10-22 02:47:25 +00:00
hyunghwan.chung
96011578c8 added some more code for processing scheduling 2015-10-19 06:16:43 +00:00
hyunghwan.chung
3482c99ab7 added more code for process scheduling 2015-10-18 15:06:17 +00:00
hyunghwan.chung
f52356e8c8 added more code for process scheduling 2015-10-15 14:40:08 +00:00