diff options
author | Ori Bernstein <ori@eigenstate.org> | 2017-07-24 23:23:38 -0400 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2017-07-25 22:21:13 -0700 |
commit | ea020690dfaacd85ca06ed17f7b3651de20132e7 (patch) | |
tree | 9b13a173b5302f35ca6414e9d18e891211978b06 | |
parent | cb85a03cb45a25936ce0afaa17651636ca566606 (diff) | |
download | mc-ea020690dfaacd85ca06ed17f7b3651de20132e7.tar.gz |
Add fallback ncpu for all OSes.
It just returns a hard-coded value, but that should be good
enough for correctness.
-rw-r--r-- | lib/thread/bld.sub | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/thread/bld.sub b/lib/thread/bld.sub index 5a2f34f..b1510a5 100644 --- a/lib/thread/bld.sub +++ b/lib/thread/bld.sub @@ -3,6 +3,9 @@ lib thread = hookstd.myr # install thread hooks mutex.myr # fallback, for unimplemented platforms + #generic fallbacks + ncpu.myr + # linux impl of basic thread primitives #condvar+linux.myr mutex+linux.myr |