diff options
author | Araq <rumpf_a@web.de> | 2011-06-02 13:02:40 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-06-02 13:02:40 +0200 |
commit | 3260702a6044cdae89cf673ad1983aa3342127de (patch) | |
tree | 40439bfaf9f4ecb4929547e387998b282eee408c /todo.txt | |
parent | d0bfc3665fd0131dad516d2fcd7cfe73c3a6f122 (diff) | |
download | Nim-3260702a6044cdae89cf673ad1983aa3342127de.tar.gz |
first steps to thread local heaps
Diffstat (limited to 'todo.txt')
-rwxr-xr-x | todo.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/todo.txt b/todo.txt index 6db460704..46ff7a3f2 100755 --- a/todo.txt +++ b/todo.txt @@ -1,6 +1,14 @@ +* improve ``echo`` code generation for multi-threading +* two issues for thread local heaps: + - must prevent to construct a data structure that contains memory + from different heaps: n.next = otherHeapPtr + - must prevent that GC cleans up memory that other threads can still read... + this can be prevented if the shared heap is simply uncollected (at least + for now) + + * add --deadlock_prevention:on|off switch? timeout for locks? * make GC fully thread-safe; needs: - - global list of threads - thread must store its stack boundaries - GC must traverse these stacks: Even better each thread traverses its stack! No need to stop if you can help the GC ;-) |