Justin Ethier
f5a36697df
Updated comments
2017-06-26 17:18:03 -04:00
Justin Ethier
c550b15f3a
Issue #150 - Inefficient (but working) thread-join!
2017-06-17 01:36:47 -04:00
Justin Ethier
75b9e7bf8a
Explicit inlines
2017-04-29 01:18:39 +00:00
Justin Ethier
a964bb17ae
WIP
2017-03-13 12:15:43 +00:00
Justin Ethier
ce0bffb31a
WIP
2017-01-26 23:45:46 -05:00
Justin Ethier
07500ce6d6
Properly store thread ID in thread objects
...
Also sketched out thread-join support but there are larger issues to consider to get that working.
2017-01-22 18:58:37 -05:00
Justin Ethier
2bee1575c0
Issue #118 - Added current-thread
2016-11-21 16:54:34 -05:00
Justin Ethier
97fa0c2dbd
WIP
2016-11-19 05:35:25 +00:00
Justin Ethier
51748fb957
Let collector know mutator is blocking
2016-02-23 20:09:51 -05:00
Justin Ethier
c6bd33bfe9
Cleanup
2016-02-22 22:13:58 -05:00
Justin Ethier
67de922d9d
Unlock thread after waiting for cv
2016-02-19 19:37:22 -05:00
Justin Ethier
4fdbea5c1d
Cleanup
2016-02-18 21:09:58 -05:00
Justin Ethier
d5ea9ae2a3
Added TODO
2016-02-18 23:21:57 -05:00
Justin Ethier
b9978248b8
Added thread-terminate!
2016-02-18 23:03:01 -05:00
Justin Ethier
1ec3608d8d
Integrate cond-variable wait with mutex-unlock!
2016-02-17 02:59:19 -05:00
Justin Ethier
c98e186172
Relocated mutex primitives to srfi 18 lib
2016-02-16 23:51:28 -05:00
Justin Ethier
214f8de4c0
Added signal and broadcast
2016-02-15 22:19:12 -05:00
Justin Ethier
bb4433b9ed
WIP
2016-02-16 02:49:37 -05:00
Justin Ethier
730434bb14
Added header comment block.
2016-02-14 22:35:04 -05:00
Justin Ethier
1a3d88f999
Formatting
2016-01-18 22:43:30 -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
92561abc85
Added status of all SRFI 18 functions
2016-01-18 22:28:55 -05:00
Justin Ethier
1e71ff3fd3
Move thread-sleep! to 18.sld
2016-01-18 22:18:39 -05:00
Justin Ethier
40bcf2d5dc
Added comments
2016-01-17 00:09:01 -05:00
Justin Ethier
ea45546c62
Experimenting with explicit heap copying
2016-01-15 22:43:21 -05:00
Justin Ethier
04d1655a6a
Prevent passing stack objects to a thread's closure
...
Modified thread-start! to initiate a GC prior to running the thread, in case thunk contains any closures on the "parent" thread's stack. Otherwise when the parent thread goes to collect them, the contents will be corrupted when the spawned thread attempts to access them.
2016-01-14 23:30:53 -05:00
Justin Ethier
9402805af3
Mutex stubs
2016-01-02 22:13:45 -05:00
Justin Ethier
151a09386e
Added import base
2015-12-26 23:49:41 -05:00
Justin Ethier
7db26c7d8c
Relocated threading functions
2015-12-26 23:26:07 -05:00