在 2020/10/13 上午2:28, Biswapriyo Nath 写道: > * Requires pthread_attr_getstack and pthread_attr_setstack in > winpthreads for libwally-core[1] project. > * Steps to build and test: Requires clang for test_clear in this project. > > cd libwally-core > ./tools/autogen.sh > mkdir bin; cd bin > export CC=clang > export CXX=clang++ > ../configure --disable-shared > make; make check > > * Attached a patch which I tried but the test_clear fails :( > > [1]: https://github.com/ElementsProject/libwally-core.git > > >
This patch looks good, so pushed. But note, at the moment the stack pointer is ignored (see how `attr` is used in `pthread_create()`). There is no way to supply custom stack memory to `_beginthreadex()`. -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public