summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* fixes #5599 (#5610)Andreas Rumpf2017-03-262-1/+9
|
* Fixes #4719. (#5585)Eugene Kabanov2017-03-232-19/+26
|
* Fix #4972. (#5567)Eugene Kabanov2017-03-191-5/+10
|
* Fixes to support Dragonfly BSD. (#5552)Eugene Kabanov2017-03-172-3/+8
| | | | | | | | | * Fix kqueue.nim and ansi_c.nim to support dragonfly. * Fix ioselectors.nim, threads.nim to support dragonfly. * Fix deprecated dealloc call in tioselectors.nim. * Fix tfsmonitor.nim test to run only on Linux. * Fix osproc.nim return wrong exit codes. * Fix getAppFilename() for dragonfly. * Fix proper exit code handling.
* hotfix: allocator: don't set origSize to 0Araq2017-03-151-2/+2
|
* decTypeSize on growObj (#5465)Yuriy Glukhov2017-03-151-0/+1
|
* adding support for using llvm ASAN (#5536)Samantha Marshall2017-03-141-1/+7
|
* make memory tracker work without onThreadCreationAraq2017-03-142-7/+22
|
* udpate channels.nim documentationAraq2017-03-081-1/+1
|
* Fixed compilation error (#5462)Yuriy Glukhov2017-03-021-3/+0
|
* Add note about passing channels between threads.Federico Ceratto2017-02-271-0/+2
|
* Merge pull request #5317 from rokups/feature/coroutinesAndreas Rumpf2017-02-265-248/+276
|\ | | | | Coroutine improvements
| * Use constant nimCoroutines instead of defined(nimCoroutines)Rokas Kupstys2017-02-202-10/+10
| | | | | | | | Variable
| * Cleanup of gc codeRokas Kupstys2017-02-204-275/+214
| | | | | | | | Cleanups
| * Coroutines realtime supportRokas Kupstys2017-02-201-13/+36
| |
| * Reworked gc support for coroutines. Nim now bootstraps with -d:nimCoroutinesRokas Kupstys2017-02-202-112/+154
| | | | | | | | | | Added gc test to coro.nim Lots of misc improvements and comments in coro.nim
| * Delete fiber context when it exits (memleak fix)Rokas Kupstys2017-02-202-4/+23
| | | | | | | | Few correctness changes to gc stack management.
| * Added support for exceptions in coroutines and added exception testRokas Kupstys2017-02-201-0/+11
| | | | | | | | Fix bug where first coroutine ending would terminate main loop
| * Coroutine rework.Rokas Kupstys2017-02-202-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ucontext backend (default on unix) * setjmp backend * fibers backend (default and required on windows) * Fixed coroutine loop timing issues * Fixed saving of xmm registers on x64 windows * Fixed alignment issues * Updated coroutine sample with cooperative fibonacci calculation. * Disable glibc security features only when platform jump functions are used * Removed dependency on fasm. * Using fiber api on windows. * Other platforms and compilers will use built in assembler and .S files or API provided by platform libc. * Replaced stack switching procs with `coroExecWithStack()` which never returns. This makes compiler always generate proper code.
* | removed onThreadCreation; onThreadDestruction is now thread localAraq2017-02-261-49/+11
| |
* | Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-02-173-21/+52
|\|
| * fixes #5392araq2017-02-151-1/+4
| |
| * Add ``tearDownForeignThreadGc`` function (#5369)Anatoly Galiulin2017-02-132-10/+35
| |
| * sysio: check for IO errors for write operationsAraq2017-02-111-6/+8
| |
| * sysio: minor improvementsAraq2017-02-091-4/+5
| |
* | introduce nimMaxHeap define to fight memory overcommitAndreas Rumpf2017-02-101-0/+5
|/
* make tests green againAndreas Rumpf2017-02-082-1/+5
|
* make tests green againAndreas Rumpf2017-02-082-4/+5
|
* system/unicode: check for buffer overflows; refs #5284Araq2017-02-081-18/+31
|
* system.nim: don't use deprecated symbols/constructsAraq2017-02-087-21/+21
|
* fixes #5349Araq2017-02-081-18/+33
|
* Mark setupForeignThreadGc and initGC as gcsafe (#5353)Anatoly Galiulin2017-02-081-1/+1
|
* Use __NR_gettid instead of SYS_gettid (#5338)Yuriy Glukhov2017-02-041-3/+3
|
* critical realloc bugfix; refs #4818Andreas Rumpf2017-02-031-3/+4
|
* refactoring: explict config state instead of globalsAndreas Rumpf2017-02-011-0/+5
|
* allocator: fixes regression: get alignment right for small objectsAraq2017-01-311-0/+2
|
* make getThreadId() work on OSXAndreas Rumpf2017-01-311-2/+4
|
* another attempt to getThreadId work on Linuxaraq2017-01-311-1/+1
|
* make getThreadId() work on Linuxaraq2017-01-311-3/+6
|
* make AVL tree node part of the memory regions; fixes hard to reproduce ↵Araq2017-01-311-1/+1
| | | | channel crashes
* make AVL tree node part of the memory regions; fixes hard to reproduce ↵Araq2017-01-311-15/+15
| | | | channel crashes
* added system.getThreadId for various OSes (untested)Araq2017-01-311-1/+31
|
* dirty changes to Nim's memory tracker; requires cleanupsAraq2017-01-311-1/+6
|
* fix the racy allocator properlyAndreas Rumpf2017-01-311-1/+1
|
* added test case; threadex example crashes nowAraq2017-01-302-2/+6
|
* fixes #5301Araq2017-01-302-42/+60
|
* fixes repr regressionAndreas Rumpf2017-01-271-1/+3
|
* repr.nim: minor improvement when outputting addresses of cstringsAndreas Rumpf2017-01-261-5/+5
|
* bugfix: onThreadDestruction callbacks should be run in reverse orderAndreas Rumpf2017-01-261-1/+1
|
* improvements to memtrackingAndreas Rumpf2017-01-263-2/+15
|