Commit graph

61 commits

Author SHA1 Message Date
Justin Ethier
1a2994d27b Added square and expt as well as a macro to unbox numbers. 2016-01-28 22:54:33 -05:00
Justin Ethier
48e88d41a7 Added round, ceil, floor, truncate 2016-01-24 22:24:12 -05:00
Justin Ethier
a1ae377352 Added inexact module 2016-01-22 21:34:19 -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
ea45546c62 Experimenting with explicit heap copying 2016-01-15 22:43:21 -05:00
Justin Ethier
2019b84149 Removed dead code 2016-01-11 22:39:37 -05:00
Justin Ethier
a9d575d3a9 Removed Cyc_current_exception_handler2 2016-01-12 03:29:10 -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
e28951a8d5 Move the mutation table into thread data. 2016-01-04 22:54:23 -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
ef61c578c5 Build-out of mutex lock/unlock 2016-01-03 00:02:19 -05:00
Justin Ethier
9402805af3 Mutex stubs 2016-01-02 22:13:45 -05:00
Justin Ethier
36752be311 Stubs for mutex functions 2016-01-02 21:56:36 -05:00
Justin Ethier
eaa0481f40 Added Cyc-minor-gc 2015-12-27 23:16:58 -05:00
Justin Ethier
309e35c69b Added cont argument to blocking I/O functions 2015-12-22 21:57:00 -05:00
Justin Ethier
6463b2bf06 Trigger GC prior to thread exit 2015-12-20 21:59:40 -05:00
Justin Ethier
d9656fc793 Use the name thread-sleep! 2015-12-19 00:22:49 -05:00
Justin Ethier
38c1ca7b31 Added thread_sleep 2015-12-18 23:53:24 -05:00
Justin Ethier
a539027b0f Added thread primitives 2015-12-17 23:50:11 -05:00
Justin Ethier
62e4e5afe9 Added thread primitives 2015-12-17 23:19:41 -05:00
Justin Ethier
e57688a774 Added thread start/end functions to runtime 2015-12-17 22:45:45 -05:00
Justin Ethier
c61fcd69d7 Removing obsolete function 2015-12-14 23:17:14 -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
c5f46e66f4 Removed unneeded export 2015-12-11 21:39:24 -05:00
Justin Ethier
c75c86f028 WIP - "grayed" flag to indicate grayed stack object 2015-12-06 22:56:19 -05:00
Justin Ethier
d1acb301c1 Initialize mark for load_varargs 2015-11-20 02:12:11 -05:00
Justin Ethier
e4c4148a74 Attemping to add write barrier for set operations 2015-11-17 23:03:11 -05:00
Justin Ethier
dfc8bb76b5 Fixes 2015-11-12 21:40:26 -05:00
Justin Ethier
df53ec99a6 Fixed heap init 2015-11-13 02:39:22 -05:00
Justin Ethier
6e6f079430 Added coarse-grained heap locking 2015-11-10 23:01:48 -05:00
Justin Ethier
2b2a96c84d Relocate mutator data structure to gc module 2015-11-09 22:25:17 -05:00
Justin Ethier
33abfc3bfa Relocate setjmp code to runtime 2015-11-06 21:28:12 -05:00
Justin Ethier
9219279613 Use mutator number instead of casting pointer to an int 2015-11-06 20:28:27 -05:00
Justin Ethier
23453d264b Removed unused globals 2015-11-05 22:17:26 -05:00
Justin Ethier
8da3b29e89 Integrate gc_cont globals with thread data structure 2015-11-05 21:57:22 -05:00
Justin Ethier
19a4a9599c Move jmp_buf to thread data structure 2015-11-05 21:21:48 -05:00
Justin Ethier
6fb8d31597 Removed stack limit globals 2015-11-05 23:00:30 -05:00
Justin Ethier
4838dfb40f Fixed compilation errors for libcyclone.a 2015-11-03 22:58:34 -05:00
Justin Ethier
e1c308d2b1 Adding data argument 2015-11-02 22:47:55 -05:00
Justin Ethier
4dd95d718e Added thread data argument 2015-11-02 22:44:32 -05:00
Justin Ethier
20e71fff3b Bug fixes 2015-10-20 01:54:15 -04:00
Justin Ethier
c332e84eac Switched order of parameters in Cyc_string_append 2015-10-13 21:50:06 -04:00
Justin Ethier
1bc65d99cd Working on converting string_append to call into cont 2015-10-12 22:49:31 -04:00
Justin Ethier
53aad98d71 Converted Cyc-installation-dir 2015-10-10 22:18:54 -04:00
Justin Ethier
09515b2141 Converted substring 2015-10-10 22:04:36 -04:00
Justin Ethier
72917f4fbb Converting make_string functions 2015-10-09 22:24:43 -04:00
Justin Ethier
6f165aeb33 Cleanup 2015-08-25 22:36:05 -04:00