summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-08 00:40:01 +0800
committerruki <[email protected]>2020-05-07 22:00:07 +0800
commit3988ba329f8cfdf206bf347418c72da37d7349a7 (patch)
treea9d9f260ad317205d0ccce93ec7660901f6215b8
parent43c3918b94e9227b4d40c392775810ca5f64e84b (diff)
disable cpu affinity for bsd
-rwxr-xr-xcore/src/tbox/inc/bsd/tbox.config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/tbox/inc/bsd/tbox.config.h b/core/src/tbox/inc/bsd/tbox.config.h
index d82e6fe22..05a1296f3 100755
--- a/core/src/tbox/inc/bsd/tbox.config.h
+++ b/core/src/tbox/inc/bsd/tbox.config.h
@@ -150,7 +150,7 @@
#define TB_CONFIG_POSIX_HAVE_GETPAGESIZE 1
#define TB_CONFIG_POSIX_HAVE_SYSCONF 1
#define TB_CONFIG_POSIX_HAVE_SCHED_YIELD 1
-#define TB_CONFIG_POSIX_HAVE_SCHED_SETAFFINITY 1
+/* #undef TB_CONFIG_POSIX_HAVE_SCHED_SETAFFINITY */
#define TB_CONFIG_POSIX_HAVE_REGCOMP 1
#define TB_CONFIG_POSIX_HAVE_REGEXEC 1
#define TB_CONFIG_POSIX_HAVE_READV 1