ringabout
d5cc2085ea
ref #20694 ; quit value gets saturated to ranges ( #20753 )
...
* 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 >
2022-11-05 10:58:57 +01:00
ringabout
1dab8ba334
move threads out of system ( #20674 )
...
* 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
2022-10-29 18:11:40 +02:00
ringabout
f6dc30e52d
fixes Thread initializer for ARC/ORC on Macos ( #20368 )
...
* fixes Thread initializer for ARC/ORC
* another try
* fix
* use int
2022-09-16 16:35:53 -04:00
Jaremy Creechley
7772ca303c
Implement threads on Zephyr ( #19156 )
...
* 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 >
2021-11-23 09:13:03 +01:00
Andreas Rumpf
cde83d90aa
refactoring: orc can use getThreadId() ( #19123 )
...
* refactoring: orc can use getThreadId()
* progress
2021-11-11 19:07:08 +01:00
flywind
dc89b21257
[std/locks]close #7998(complete condition variables) ( #17711 )
...
* close #7998
* workaround genode
* Update lib/system/syslocks.nim
2021-04-19 10:51:13 +02:00
Clyybber
a672ec3c9e
Fix #17299 , fix setAffinity for android ( #17574 )
...
* Fix #17299
* Comment
* Fix typo
2021-03-30 08:05:37 +02:00
flywind
70ec17eede
use single backtick ( #17133 )
2021-02-21 00:27:39 -08:00
Hiroki Noda
3ab1274231
Thread attributes should be destroyed using the pthread_attr_destroy() ( #13293 )
...
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.
2020-01-29 17:33:21 +01:00
Euan
7e689873e2
Fix #12135 and #12109 ( #12137 )
...
* Fix #12135 and fix #12109 - fix OpenBSD type defs
* Fix Mode definition as in #12132
2019-11-11 16:18:08 +01:00
Arne Döring
99078d80d7
introduce csize_t instead of fixing csize ( #12497 )
2019-10-31 19:18:12 +01:00
Arne Döring
803406d07c
fix #11854 ( #11857 )
2019-07-30 17:24:42 +02:00
Araq
5a020d641d
style improvements; fixes #11774
2019-07-19 17:25:04 +02:00
Araq
cb3c3c306c
minor style changes
2019-07-11 00:28:20 +02:00
Araq
d5f2a5c204
add back what was required
2019-04-04 16:35:15 +02:00
Araq
228d53006a
refactoring: move threadlocalstorage into its own file
2019-04-04 16:35:15 +02:00