Here is what I learned for Linux.
In Linux, a thread is the same as process. For redhat, the
default stack size for a process is 10240k. this can be checked and changed by “ulimit
” command. Setting different stack size will affect how many threads can
be created for Linux.