diff options
author | Thomas Thiriez <thomas@twistedwave.com> | 2019-10-28 15:27:46 +0100 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2019-10-29 08:44:52 +0300 |
commit | d97a9a9b10ca136c6495910d908d1ca8fc0f022e (patch) | |
tree | 28e58a1c6785a84152bdb22eae685251726a4bff /AUTHORS | |
parent | dec6ae4c9fadda2caa3f17bcee86464a76210e17 (diff) | |
download | bdwgc-d97a9a9b10ca136c6495910d908d1ca8fc0f022e.tar.gz |
Allocate start_info struct on the stack in GC_pthread_create
Issue #296 (bdwgc).
This also works around "sem_wait failed" error when creating many
threads on OS X.
* pthread_support.c: Change type of si local variable to a non-pointer
one (so that, struct start_info is allocated on the stack); do not call
GC_INTERNAL_MALLOC/FREE; update comment.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions