summary refs log tree commit diff stats
path: root/lib/pure/concurrency/cpuinfo.nim
Commit message (Collapse)AuthorAgeFilesLines
* fix #17078 csources generation (#17079)Timothee Cour2021-02-181-1/+1
| | | | | * fix #17078 csources generation * fixup
* add -d:nimStrictMode in CI to keep code from regressing; fixes ↵Timothee Cour2021-02-171-1/+1
| | | | ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
* Minor docs/format changes (cpuinfo, volatile) (#16602)konsumlamm2021-01-061-10/+9
|
* Documentation, add more examples (#13825)Juan Carlos2020-04-011-3/+5
|
* Add Documentation (#13811)Juan Carlos2020-03-311-0/+3
| | | | * Add more Docs and runnableExamples
* csize => csize_t for sysctlTimothee Cour2020-01-281-3/+2
|
* remove unused importsnarimiran2019-11-061-4/+1
|
* Revert "Fixes #12187 (#12321)" (#12447)Andreas Rumpf2019-10-181-1/+1
| | | This reverts commit 00c31e87660d9db813871f5aa23661bf6b9bbdcb.
* Fixes #12187 (#12321)Clyybber2019-10-081-1/+1
| | | | | | * Fixes #12187 * Point to fork of compactdict Since the original repo is now archived / read-only
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-3/+1
|
* cpuinfo: fix compilation for 32bit HaikuLeorize2018-09-251-3/+3
|
* Haiku support for Nim (#8542)alaviss2018-08-141-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix_other: Haiku now has spawn.h This is added per https://dev.haiku-os.org/ticket/13446 * posix_other: Add Haiku specific Dirent members * cpuinfo: Add an implementation for Haiku * distros: Add basic Haiku support * encodings: update Haiku support * fenv, math: Haiku now provides libm * times: Add Haiku struct members * ansi_c, osalloc: Add Haiku constants * threads: Add Haiku support * testament: Haiku uses LIBRARY_PATH * nim.cfg: Update Haiku support libnetwork should only be linked if network functions are used * threads: Haiku does not support -pthread switch * tworkingdir: Haiku's env is in /bin * posix_other: add SIGKILLTHR for Haiku * sockets: link with libnetwork on Haiku * coro: correct ucontext.h location http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html * coro: ucontext backend is not available on Haiku Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX * coro: fix setjmp backend The compiler does not allow statements after a noreturn function * nativesockets: Haiku doesn't support AI_V4MAPPED * system: hostOS can contains "haiku" * os: add support for Haiku's packagefs packagefs is read-only, but there are writable holes to the underlying file system as well * os: update constant for Haiku
* Native access to Genode environmentEmery Hemingway2018-06-071-3/+5
| | | | | | | | | | | | | | | | | Add a 'GenodeEnv' type and a 'componentConstructHook' to the system module. The 'componentConstructHook' allows for detection of POSIX style programs that exit implicitly or native Genode components that initialize to serve RPC requests and OS signals. This hook takes a 'GenodeEnv' argument so that the environment interface is passed cleanly to application code after globals are initialized. This is an typed pointer to a C++ object, procedures for accessing the environment will be available from a Nimble library and not included in the standard library. The standard library has an internal pointer to the environment object but this is not for external use, the undocumented global environment pointer has been removed.
* fixes cpuinfo regressionAraq2017-10-261-8/+2
|
* [Windows] Use GetSystemInfo for obtaining processor count (#6082)Dmitry Atamanov2017-10-251-2/+25
|
* fix countProcessors error return value. (#5942)Parashurama2017-06-051-1/+1
|
* support for the Genode OS framework (#5560)Emery Hemingway2017-03-311-1/+6
|
* lib: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-1/+1
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* Happy new year!Guillaume Gelin2015-01-061-1/+1
|
* Merge branch 'devel' into bigbreakAraq2014-10-131-1/+10
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: compiler/ast.nim compiler/nimfix/prettybase.nim compiler/pragmas.nim compiler/sempass2.nim doc/manual.txt koch.nim lib/pure/concurrency/threadpool.nim web/news.txt
| * fixes recent regressionAraq2014-10-111-1/+4
| |
| * minor cleanup for cpuinfoAraq2014-10-111-2/+1
| |
| * Update cpuinfo.nimLuis Ricardo2014-10-071-1/+8
| | | | | | | | sys/types.h needed for macosx and freebsd sys/param.h needed for openbsd and netbsd
* | Nimrod renamed to NimAraq2014-08-281-1/+1
|/
* initial non-compiling version of 'parallel'Araq2014-05-121-0/+58