Commit graph

267 commits

Author SHA1 Message Date
Justin Ethier
580a674525 Temporarily disable using immediate ints
Also bugfix to let equal() work with immediates
2016-03-19 22:20:08 -04:00
Justin Ethier
cdde675994 Integer value types 2016-03-17 22:51:31 -04:00
Justin Ethier
acf9de866e Purge sum2 and friends 2016-03-17 21:11:24 -04:00
Justin Ethier
f2be2abc65 Use new + - * / functions 2016-03-18 03:43:52 -04:00
Justin Ethier
b3b29ae15f Removed string->number2 2016-03-17 01:56:11 -04:00
Justin Ethier
9e27db1025 Equivalent string->number functions 2016-03-17 01:43:30 -04:00
Justin Ethier
5d234d1509 WIP 2016-03-15 22:32:30 -04:00
Justin Ethier
47f43d54c0 Only generate call history for top-level (or library) defines 2016-03-03 22:38:33 -05:00
Justin Ethier
abdce5d978 Prevent "too many arguments" errors
Use folds instead of apply to prevent errors with too many arguments passed.
2016-03-01 22:09:26 -05:00
Justin Ethier
76c84ad29e Added optional arg to string->number 2016-02-23 00:06:45 -05:00
Justin Ethier
41ff5a149b Fix (closure) casting in closcall macros 2016-02-18 22:30:10 -05:00
Justin Ethier
c98e186172 Relocated mutex primitives to srfi 18 lib 2016-02-16 23:51:28 -05:00
Justin Ethier
730434bb14 Added header comment block. 2016-02-14 22:35:04 -05:00
Justin Ethier
8d88f69882 Refactoring 2016-01-31 21:45:08 -05:00
Justin Ethier
76bbca68e5 Cyc-minor-gc is now part of (srfi 18)
It makes more sense here than as a primitive, since threading is the only place you would need to trigger this from application code.
2016-01-18 22:40:59 -05:00
Justin Ethier
1e71ff3fd3 Move thread-sleep! to 18.sld 2016-01-18 22:18:39 -05:00
Justin Ethier
02317f940d Transitioning away from Cyc_current_exception_handler2 2016-01-12 03:26:55 -05:00
Justin Ethier
87c266a44a Adding exception stack to thread data 2016-01-12 03:21:36 -05:00
Justin Ethier
4ab9f085fd Compute number of arguments 2016-01-09 23:20:16 -05:00
Justin Ethier
4f3d7055d4 Bug fixes 2016-01-09 22:52:15 -05:00
Justin Ethier
3a98b3b8d8 WIP 2016-01-08 23:07:23 -05:00
Justin Ethier
1b1320ebf0 WIP 2016-01-08 23:22:44 -05:00
Justin Ethier
52cd5c48e1 WIP for FFI 2016-01-07 22:54:17 -05:00
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
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
309fc3dc13 Added mutex functions 2016-01-02 22:41:50 -05:00
Justin Ethier
eaa0481f40 Added Cyc-minor-gc 2015-12-27 23:16:58 -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
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
a539027b0f Added thread primitives 2015-12-17 23:50:11 -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