summary refs log tree commit diff stats
path: root/lib/system/threadlocalstorage.nim
Commit message (Collapse)AuthorAgeFilesLines
* ref #20694; quit value gets saturated to ranges (#20753)ringabout2022-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | * quit value gets saturated to ranges * add documentation * minimal changes * refactor * small fix * add documentation * fixes * Update lib/system.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* move threads out of system (#20674)ringabout2022-10-291-157/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move syslocks first * progress * clean up * go on * clean up * clean up * add imports syslocks * remove documentation * public deallocOsPages * fixes genode * fixes more * fixes boehmGC * cover more cases * fixes cyclic deps * fixes genode * cleanup * unpublic fields * cleanup * clean up
* fixes Thread initializer for ARC/ORC on Macos (#20368)ringabout2022-09-161-1/+1
| | | | | | | | | * fixes Thread initializer for ARC/ORC * another try * fix * use int
* Implement threads on Zephyr (#19156)Jaremy Creechley2021-11-231-0/+2
| | | | | | | | | | | | | | | | | | | * pthreads setup for zephyr - enable tweak stack size - update lib/system/threads.nim - Fix int/uint in casting pointer. * add documentation and tweak flag names * add documentation and tweak flag names * fix configuration flag names * fix configuration flag names * cleanup Co-authored-by: Jaremy Creechley <jaremy.creechley@panthalassa.com>
* refactoring: orc can use getThreadId() (#19123)Andreas Rumpf2021-11-111-3/+0
| | | | | * refactoring: orc can use getThreadId() * progress
* [std/locks]close #7998(complete condition variables) (#17711)flywind2021-04-191-0/+3
| | | | | | * close #7998 * workaround genode * Update lib/system/syslocks.nim
* Fix #17299, fix setAffinity for android (#17574)Clyybber2021-03-301-2/+17
| | | | | | | * Fix #17299 * Comment * Fix typo
* use single backtick (#17133)flywind2021-02-211-1/+1
|
* Thread attributes should be destroyed using the pthread_attr_destroy() (#13293)Hiroki Noda2020-01-291-2/+4
| | | | | On some OSes (such as FreeBSD or Solaris), pthread_attr_init allocate memory. So it is necessary to deallocate that memory by using pthread_attr_destroy.
* Fix #12135 and #12109 (#12137)Euan2019-11-111-0/+7
| | | | | | * Fix #12135 and fix #12109 - fix OpenBSD type defs * Fix Mode definition as in #12132
* introduce csize_t instead of fixing csize (#12497)Arne Döring2019-10-311-1/+1
|
* fix #11854 (#11857)Arne Döring2019-07-301-3/+3
|
* style improvements; fixes #11774Araq2019-07-191-2/+2
|
* minor style changesAraq2019-07-111-1/+1
|
* add back what was requiredAraq2019-04-041-0/+6
|
* refactoring: move threadlocalstorage into its own fileAraq2019-04-041-0/+233