Justin Ethier
a889d6fb6f
Refactoring
...
Renamed cyc_start_thread to cyc_start_trampoline to be more clear about what the function actually does.
2016-01-03 22:56:34 -05:00
Justin Ethier
4a940918ee
Fix compilation of make-mutex
...
Issue was that this takes no application-level arguments but does take a 'data' argument. So this required some modifications since we never had a function with those specific needs before.
2016-01-03 21:34:16 -05:00
Justin Ethier
9b7e9106f1
Treat (srfi) includes as built-in libraries
2016-01-03 20:49:47 -05:00
Justin Ethier
f3a78bc15a
Fixed compilation issues with mutex primitives
2016-01-03 20:39:53 -05:00
Justin Ethier
6b96c00b57
Mutex fixes
2016-01-03 00:09:41 -05:00
Justin Ethier
de33b567a3
Missed a couple things...
2016-01-02 22:49:57 -05:00
Justin Ethier
309fc3dc13
Added mutex functions
2016-01-02 22:41:50 -05:00
Justin Ethier
727d606928
Bump version number and copyright info
2015-12-29 23:21:59 -05:00
Justin Ethier
eaa0481f40
Added Cyc-minor-gc
2015-12-27 23:16:58 -05:00
Justin Ethier
3f0306c404
Handle import-sets that contain numbers
2015-12-27 22:41:52 -05:00
Justin Ethier
e8186fb6fe
Added function to normalize import set lists
2015-12-27 22:04:51 -05:00
Justin Ethier
167d26adbb
Handle lib names with numbers in them
2015-12-26 23:48:45 -05:00
Justin Ethier
7db26c7d8c
Relocated threading functions
2015-12-26 23:26:07 -05:00
Justin Ethier
b31c6181c8
Set main thread runnable
2015-12-24 01:32:29 -05:00
Justin Ethier
309e35c69b
Added cont argument to blocking I/O functions
2015-12-22 21:57:00 -05:00
Justin Ethier
aad3cebd7a
Allow module to compile
2015-12-20 00:31:50 -05:00
Justin Ethier
00210623d7
Added thread-terminate
2015-12-19 23:59:52 -05:00
Justin Ethier
72e3a2e91b
Added thread-yield
2015-12-19 23:44:39 -05:00
Justin Ethier
d9656fc793
Use the name thread-sleep!
2015-12-19 00:22:49 -05:00
Justin Ethier
8895bee4ed
Adding sleep function
2015-12-19 00:08:36 -05:00
Justin Ethier
e4d21335cf
Added thread-start!
2015-12-18 22:37:48 -05:00
Justin Ethier
f6347de299
Do not constant fold thread functions
2015-12-17 23:56:12 -05:00
Justin Ethier
a539027b0f
Added thread primitives
2015-12-17 23:50:11 -05:00
Justin Ethier
d478132d8a
Fixed-up make-thread
2015-12-16 21:59:58 -05:00
Justin Ethier
7c795f1534
Noted TODO
2015-12-16 23:07:14 -05:00
Justin Ethier
0e8129f5e6
Added thread stubs
2015-12-16 22:54:34 -05:00
Justin Ethier
dfed77639a
Adding thread application stubs
2015-12-15 22:58:15 -05:00
Justin Ethier
ddf54ec5c7
Phasing-out Cyc_st_add2
2015-12-14 23:16:28 -05:00
Justin Ethier
ead5bcb100
Keep track of call history using thread data
2015-12-14 22:55:57 -05:00
Justin Ethier
e5bf6e0e4e
Fixed race condition on startup
2015-12-08 23:13:22 -05:00
Justin Ethier
c75c86f028
WIP - "grayed" flag to indicate grayed stack object
2015-12-06 22:56:19 -05:00
Justin Ethier
dfc8bb76b5
Fixes
2015-11-12 21:40:26 -05:00
Justin Ethier
33abfc3bfa
Relocate setjmp code to runtime
2015-11-06 21:28:12 -05:00
Justin Ethier
5fd25f977f
Do a separate heap init on startup
2015-11-07 02:56:38 -05:00
Justin Ethier
6fb8d31597
Removed stack limit globals
2015-11-05 23:00:30 -05:00
Justin Ethier
4e69bfb758
Fix for functions with cont and no args
2015-11-04 22:02:57 -05:00
Justin Ethier
2d68fde138
Simplified code
2015-11-04 20:55:27 -05:00
Justin Ethier
4905df6261
Removed obsolete function
2015-11-05 02:49:07 -05:00
Justin Ethier
62b44d667a
Add missing commas
2015-11-05 02:48:29 -05:00
Justin Ethier
9545200722
WIP
2015-11-04 23:21:56 -05:00
Justin Ethier
a84c8b9339
WIP
2015-11-03 23:04:13 -05:00
Justin Ethier
0cd4d2e796
Full version of (prim/data-arg? p)
2015-11-04 02:25:50 -05:00
Justin Ethier
ca7afc7c59
Added stub
2015-11-04 02:01:15 -05:00
Justin Ethier
fee0675fa2
Added red color to indicate stack alloc
2015-10-29 22:31:25 -04:00
Justin Ethier
da4e7a9d87
Removed debug code
2015-10-20 18:43:02 -04:00
Justin Ethier
a6fc199907
Bugfix in allocating cons cell, cdr was being set to null.
...
Also updated move2heap code to use 'hp' as the destination object. Using hobj and obj seemed to be asking for trouble.
2015-10-19 22:02:45 -04:00
Justin Ethier
c332e84eac
Switched order of parameters in Cyc_string_append
2015-10-13 21:50:06 -04:00
Justin Ethier
94366294da
Added TODO
2015-10-12 22:56:51 -04:00
Justin Ethier
1bc65d99cd
Working on converting string_append to call into cont
2015-10-12 22:49:31 -04:00
Justin Ethier
ce95299919
Removed old type mappings
2015-10-10 23:28:55 -04:00