Nim/lib/system
Emery Hemingway 9258672cee balance Genode CPU pinning, deadlock at Genode exit (#6317)
* Genode: balance thread CPU affinities
Genode threads are pinned by defaut to the same CPU as the initial
component entrypoint thread. Thread affinities are also permanent. This
patch pins new threads to CPUs in a round-robin manner. Arbitrary CPU
pinning is not exposed and the 'nimPinToCpu' has no effect.

* Genode: guarantee that 'quit' will not return
On Genode exits are handled by whatever component is acting as parent.
The caller has no guarentee that the parent implementation will halt the
caller's threads, so explicitly deadlock the 'quit' procedure.
2017-09-16 08:02:59 +02:00
..
alloc.nim fixes withRegion for --gc:stack 2017-06-19 17:43:12 +02:00
ansi_c.nim Linux abi take 3 (#5692) 2017-04-12 22:57:10 +02:00
arithm.nim fixes #2909 2015-06-15 00:56:20 +02:00
assign.nim Fix compilation for 16 bit targets (#5286) 2017-01-26 07:05:03 +01:00
atomics.nim fixes #6196 2017-08-08 09:04:39 +07:00
avltree.nim make AVL tree node part of the memory regions; fixes hard to reproduce channel crashes 2017-01-31 13:08:47 +01:00
cellsets.nim remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00
cgprocs.nim proper distinction between --gc:none and --os:standalone 2015-06-29 02:48:33 +02:00
channels.nim Channels can now block depending on maxItems (#6153) 2017-07-31 20:06:55 +02:00
chcks.nim fixes #5599 (#5610) 2017-03-26 09:30:59 +02:00
debugger.nim prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
deepcopy.nim closures have an object type field so that we can perform correct deepCopy() for the BoehmGC target 2017-07-22 11:10:52 +02:00
dyncalls.nim support for the Genode OS framework (#5560) 2017-03-31 23:13:06 +02:00
embedded.nim Fix type of setControlCHook parameter 2015-01-27 12:00:08 +01:00
endb.nim prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
excpt.nim Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
gc.nim fixes #6234 2017-08-11 20:14:44 +02:00
gc2.nim Cleanup of gc code 2017-02-20 17:24:19 +02:00
gc_common.nim added system.deallocHeap feature for Nim's native GCs 2017-07-22 11:38:47 +02:00
gc_ms.nim added system.deallocHeap feature for Nim's native GCs 2017-07-22 11:38:47 +02:00
gc_regions.nim memory regions seem to work now 2017-08-13 02:51:00 +02:00
hti.nim Fix compilation for 16 bit targets (#5286) 2017-01-26 07:05:03 +01:00
inclrtl.nim make nim bootstrap again for older versions 2016-07-30 00:50:38 +02:00
jssys.nim Fixed handling of surrogate pairs (#6332) 2017-09-05 16:42:41 +02:00
memtracker.nim make memory tracker work without onThreadCreation 2017-03-14 15:45:35 +01:00
mmdisp.nim remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00
nimscript.nim refactoring: explict config state instead of globals 2017-02-01 23:39:40 +01:00
osalloc.nim support for the Genode OS framework (#5560) 2017-03-31 23:13:06 +02:00
platforms.nim Introduce first class support for Android (#5772) 2017-08-06 02:18:15 +02:00
profiler.nim Enable embedded profiler to display filenames. 2016-08-02 19:19:31 +07:00
repr.nim Ascii character code 127 (DEL) is not printable and must be quoted. (#5984) 2017-06-15 20:42:23 +02:00
reprjs.nim Ascii character code 127 (DEL) is not printable and must be quoted. (#5984) 2017-06-15 20:42:23 +02:00
sets.nim prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
sysio.nim remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00
syslocks.nim Fixup #5804 (#5837) 2017-05-18 13:12:43 +02:00
sysspawn.nim Fix a few deprecation warnings 2016-01-25 19:10:37 +01:00
sysstr.nim WIP: --gc:regions instead of --gc:stack 2017-08-13 02:51:00 +02:00
threads.nim balance Genode CPU pinning, deadlock at Genode exit (#6317) 2017-09-16 08:02:59 +02:00
timers.nim naive work-around for time redefinition (#5193) 2017-01-08 17:53:43 +01:00
widestrs.nim remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00