Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pthread stack size on 32-bit platforms
For some reason which remains mysterious to me the shared library which calls pthread_create() must be linked with -pthread. If this is not done on 32-bit system the default ulimit stack size is used. Surprisingly, on a 64-bit system the stack limit specified by the pthread_attr is honored even when -pthread is not passed when linking the shared library.
- Loading branch information