]> granicus.if.org Git - gc/commit
Fix OSX issue with pthread_attr_setstacksize failure
authorBruce Hoult <bruce@hoult.org>
Sun, 4 Jan 2015 15:33:35 +0000 (04:33 +1300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 7 Jan 2015 15:50:56 +0000 (18:50 +0300)
commitc2918ed5163430c26f9cee4d9cdfc79edc8412d4
tree6da5073383b062d99a0270dc6f19039459767fdb
parent0322b83386fde8b8ed89ed742933fc2cae81afbd
Fix OSX issue with pthread_attr_setstacksize failure
(bug introduced in commit 7bef74b)

* tests/test.c (main): Set stack size to 1000 KiB instead of
1000000 bytes (to avoid pthread_attr_setstacksize failure with
"stacksize is not a multiple of the system page size" error on
Darwin)
tests/test.c