summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* Fixed syslocks for ios (#5804)Yuriy Glukhov2017-05-121-22/+88
|
* Fix atomicInc under vcc, C++, amd64 (#5809)Ruslan Mustakov2017-05-121-2/+18
| | | | | | Also, fixed inconsistent behaviour of atomicInc on vcc. Previously it would return the old value, while it must return the new value. Fixes: #5808
* JS codegen: produce better code for constant setsAndreas Rumpf2017-05-011-1/+1
|
* Linux abi take 3 (#5692)Jacek Sieka2017-04-123-15/+38
| | | | | * avoid generating object fields for imported types * fix some abi/type issues for linux_amd64
* remove system.getFileSize again, breaks windows builds and I don't want more ↵Araq2017-04-081-7/+0
| | | | stuff that's a pain to support in a platform independent manner
* getFileSize and setFileSize procedures for File and AsyncFileEmery Hemingway2017-04-051-0/+7
| | | | | Platform independent procedure to set a file length. Useful when replacing file content.
* fixup! support for the Genode OS framework (#5653)Emery Hemingway2017-04-021-0/+2
| | | Allocate thread metadata at createThread.
* memory manager: use less memory; corruption preventionAndreas Rumpf2017-04-021-59/+47
|
* support for the Genode OS framework (#5560)Emery Hemingway2017-03-314-1/+120
|
* Implementing `repr` for JS (#5578)Silvio2017-03-311-9/+263
|
* fixes #5628Araq2017-03-301-2/+3
|
* 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
|