Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Properly register threads with the Boehm GC. | Reimer Behrends | 2015-09-08 | 1 | -15/+46 |
| | | | | | | | | | | | | | | | | In order to be able to scan thread stacks, the Boehm GC needs to know about newly created threads. We establish the end of the stack by using GC_call_with_stack_base (this works properly also with the dual-stack Itanium architecture) and then GC_register_my_thread() to register a thrad and GC_unregister_my_thread() to unregister it again. This patch also includes a modification for the refc and markandsweep collectors to set the stack bottom for thread stacks correctly even if an optimizer aggressively inlines and optimizes procedures (this is already being done for the stack of the main thread). Finally, we use the {.noconv.} pragma for the Boehm GC, as the Boehm API uses no specific calling convention. | ||||
* | make --gc:none work with --threads:on | Araq | 2015-08-26 | 1 | -1/+1 |
| | |||||
* | implemented system.pinToCpu | Araq | 2015-07-01 | 1 | -10/+40 |
| | |||||
* | Fix #2672. Do not define globalsSlot for native TLS | Sergey Avseyev | 2015-06-26 | 1 | -16/+11 |
| | | | | | | | | | | | | | | | | Motivation ---------- globalsSlot is always defined so threading code works incorrectly when native TLS supported. Modification ------------ Defined globalsSlot only in TLS emulation mode. Remove myThreadId, which based on broken behavior. It might be reimplemented later Result ------ No segfaults. | ||||
* | Trim trailling spaces | Sergey Avseyev | 2015-06-26 | 1 | -36/+35 |
| | |||||
* | Merge branch 'devel' into gogc | Stefan Talpalaru | 2015-06-15 | 1 | -67/+73 |
|\ | |||||
| * | lib/system/g-w - Dropped 'T' from types | pdw | 2015-06-04 | 1 | -67/+73 |
| | | |||||
* | | the Go GC - initial implementation | Stefan Talpalaru | 2015-05-31 | 1 | -3/+3 |
|/ | |||||
* | Fix pthread_create binding when compiling in C++ mode. | Philip Wernersbach | 2015-03-15 | 1 | -2/+2 |
| | | | | | C++ has different rules for void pointers, which causes the binding to be invalid when compiling in C++ mode. | ||||
* | fixes #2074 | Araq | 2015-02-26 | 1 | -1/+11 |
| | |||||
* | Disable -pthread for linker on OSX | Hans Raaf | 2015-02-13 | 1 | -1/+3 |
| | | | | | The -pthread is not needed on Darwin/OS X and the Apple compilers give a warning about this if you use --threads:on with the Nim compiler. | ||||
* | proper fix for stack initialization and threadvar emulation | Araq | 2014-11-11 | 1 | -11/+27 |
| | |||||
* | Remove references to pthread_mutex_timedlock(). | Reimer Behrends | 2014-11-06 | 1 | -10/+0 |
| | | | | | | | The pthread_mutex_timedlock() function is not supported on a number of architectures and is not actually used by the library or compiler, but prevents C++ compilation on systems that do not support it when threads are enabled. | ||||
* | merged things from devel | Araq | 2014-09-12 | 1 | -1/+0 |
|\ | |||||
| * | Threads work again | Araq | 2014-09-11 | 1 | -32/+46 |
| | | |||||
* | | make tests green | Araq | 2014-08-31 | 1 | -23/+37 |
| | | |||||
* | | Winlean and threads case sensitivity fixes. | Dominik Picheta | 2014-08-30 | 1 | -4/+4 |
| | | |||||
* | | the big renamefest: first steps | Araq | 2014-08-22 | 1 | -7/+7 |
|/ | |||||
* | distinguish between 'defined' and 'declared' | Araq | 2014-08-11 | 1 | -6/+6 |
| | |||||
* | minor tweaks; updated todo.txt | Araq | 2014-04-25 | 1 | -1/+1 |
| | |||||
* | made large parts of the stdlib gcsafe | Araq | 2014-04-20 | 1 | -2/+2 |
| | |||||
* | case consistency improvements | Araq | 2014-01-11 | 1 | -30/+30 |
| | |||||
* | Correct the spelling of the word 'implicitly' | Satish BD | 2013-12-23 | 1 | -1/+1 |
| | |||||
* | better error message for implicitly available modules | Araq | 2013-12-01 | 1 | -0/+3 |
| | |||||
* | Adds link to manual thread memory section from threads module. | Grzegorz Adam Hankiewicz | 2013-05-10 | 1 | -2/+2 |
| | |||||
* | Removes executable bit for text files. | Grzegorz Adam Hankiewicz | 2013-03-16 | 1 | -0/+0 |
| | |||||
* | Many doc improvements. Changed Threads.joinThreads' param's type to varargs. | Dominik Picheta | 2012-11-04 | 1 | -1/+1 |
| | |||||
* | made some tests green | Araq | 2012-09-12 | 1 | -4/+2 |
| | |||||
* | made tests green again | Araq | 2012-08-24 | 1 | -1/+1 |
| | |||||
* | keep initStackBottom calls please | Araq | 2012-08-02 | 1 | -0/+1 |
| | |||||
* | DLL fixes for windows; fixes #175 | Zahary Karadjov | 2012-07-31 | 1 | -1/+0 |
| | |||||
* | fixes #168 | Araq | 2012-07-19 | 1 | -1/+2 |
| | |||||
* | preparations for making 'closure' the default calling convention for proc types | Araq | 2012-07-16 | 1 | -2/+2 |
| | |||||
* | year 2012 for most copyright headers | Araq | 2012-01-02 | 1 | -1/+1 |
| | |||||
* | threads compile again; attempt to fix serious code gen issue (except + return) | Araq | 2011-12-03 | 1 | -2/+2 |
| | |||||
* | implemented 'let' statement | Araq | 2011-11-29 | 1 | -1/+2 |
| | |||||
* | fixed bug that kept tls emulation from working | Araq | 2011-11-25 | 1 | -4/+5 |
| | |||||
* | DLL generation may work again | Araq | 2011-11-02 | 1 | -5/+7 |
| | |||||
* | new compiler option tlsEmulation | Araq | 2011-10-27 | 1 | -1/+1 |
| | |||||
* | bugfixes for generics; new threads implementation still broken | Araq | 2011-09-20 | 1 | -3/+5 |
| | |||||
* | new actors implementation for nimrod; compiler's generics still not up for ↵ | Araq | 2011-08-29 | 1 | -64/+30 |
| | | | | the task though | ||||
* | locks now in their own core module | Araq | 2011-08-20 | 1 | -117/+3 |
| | |||||
* | bugfix: running for threads | Araq | 2011-08-12 | 1 | -1/+1 |
| | |||||
* | added system.running for threads | Araq | 2011-08-11 | 1 | -0/+8 |
| | |||||
* | bugfix: proper cache for generic instantiations | Araq | 2011-07-21 | 1 | -1/+1 |
| | |||||
* | shared untraced heap; bugfix: mem corruptions in message passing code | Araq | 2011-07-18 | 1 | -9/+4 |
| | |||||
* | first steps to explicit channels for thread communication; added mainThreadId | Araq | 2011-07-16 | 1 | -2/+10 |
| | |||||
* | version 0.8.12 | Araq | 2011-07-10 | 1 | -1/+1 |
| | |||||
* | preparations for 0.8.12 | Araq | 2011-07-10 | 1 | -72/+89 |
| | |||||
* | basic message passing working | Araq | 2011-07-09 | 1 | -8/+29 |
| |