Nim/lib
Tail Wag Games cfdac6666f
Freeing critical sections via atexit in system/alloc and system/io (#19062)
* adding new system module sysexitprocs and including system exit procedures when registering exit handlers defined in userland

* fixing failing tests and adding initialization guard to handle cases where the module's global init logic isn't invoked first as is the case with some gc implementaions

* js backend shouldn't try to invoke actual system exit procs

* fixing formatting in sysexitprocs.nim

* 256 was too much - my max number of plugins in my engine is 64 and I require two hooks per runtime it looks like with tls emulation turned off, so for my purposes 128 should be sufficient

* so atExit should be enough here, can get rid of all the extra cruft I had added on top since I didn't realize atExit already provided a stack

* done being cute - since newruntime prevents correct cpp codegen for object variants apparently and breaks tests if I try to use std/exitprocs, ddSysExitProc is just going into both modules. Since system doesn't include system/io, polluting system with it doesn't make sense either... at least it is only importc'd when it is required in either module and we don't have to have any weird when defined(nimOwnedEnabled) with a comment explaining why
2021-10-29 13:42:44 +02:00
..
arch/x86 Coroutine rework. 2017-02-20 17:24:19 +02:00
core fixes #18878 (#18883) 2021-09-25 14:17:41 +02:00
deprecated/pure Rename = to =copy in stdlib (#17781) 2021-04-19 13:16:10 +02:00
experimental gitutils: add diffStrings, diffFiles, and use it in testament to compare expected vs gotten (#17892) 2021-04-30 11:00:33 +02:00
genode Genode platform fixes (#17521) 2021-04-09 16:29:10 +02:00
genode_cpp [std/locks]close #7998(complete condition variables) (#17711) 2021-04-19 10:51:13 +02:00
impure fix a sqlite bug (#18669) 2021-08-12 09:21:01 -07:00
js Implement RFC-413 (#18749) 2021-08-26 23:07:54 +02:00
packages/docutils docgen: implement doc link resolution in current module (#18642) 2021-10-28 19:20:52 +02:00
posix Add Zephyr Support (#19003) 2021-10-24 11:51:57 +02:00
pure Fix nimIdentNormalize, fixes #19067 (#19068) 2021-10-29 11:39:41 +02:00
std Freeing critical sections via atexit in system/alloc and system/io (#19062) 2021-10-29 13:42:44 +02:00
system Freeing critical sections via atexit in system/alloc and system/io (#19062) 2021-10-29 13:42:44 +02:00
windows use more .} (#18542) 2021-07-20 20:12:15 +08:00
wrappers deprecate cuchar, don't redefine it (#18505) 2021-07-16 15:50:02 +02:00
cycle.h Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
deps.txt added lib/deps.txt 2021-06-03 14:00:53 +02:00
nimbase.h initial fix for compiling Nim on Zephyr RTOS (issue #18684) (#18685) 2021-08-13 08:57:29 +02:00
nimhcr.nim fixes #17647 (#17667) 2021-04-07 23:26:53 +02:00
nimhcr.nim.cfg Initial version of the hot-code reloading support for native targets (#10729) 2019-02-26 15:48:55 +01:00
nimrtl.nim add missing docs (#18758) 2021-08-29 09:18:54 +02:00
nimrtl.nim.cfg Initial version of the hot-code reloading support for native targets (#10729) 2019-02-26 15:48:55 +01:00
stdlib.nimble attempt to make the build green again 2017-01-07 02:55:15 +01:00
system.nim bump NimVersion to 1.7.1 2021-10-19 17:01:56 +02:00
system_overview.rst various small documentation improvements (#18602) 2021-07-28 14:31:13 +02:00