Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道为什么 SystemC 中的默认堆栈大小等于0x50000我们不使用 POSIX 线程(同时使用 Cygwin)和0x20000其他情况?
0x50000
0x20000
见 src/sysc/kernel/sc_constants.h
const int SC_DEFAULT_STACK_SIZE = #if !defined(SC_USE_PTHREADS) && \ ( defined(__CYGWIN32__) || defined(__CYGWIN32) ) 0x50000; #else 0x20000; #endif