0

Does anyone knows why default stack size in SystemC is equal to 0x50000 if we don't use POSIX Threads (and at the same time use Cygwin) and 0x20000 on other case?

1 Answer 1

0

See 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.