libthread: use mmap to allocate OpenBSD stacks
Should fix faults on OpenBSD. Fixes #218. Fixes #226.
This commit is contained in:
parent
4ae529dbfe
commit
8c573cab68
6 changed files with 61 additions and 8 deletions
|
|
@ -209,3 +209,5 @@ extern void _threadsetupdaemonize(void);
|
|||
extern void _threaddodaemonize(char*);
|
||||
extern void _threadpexit(void);
|
||||
extern void _threaddaemonize(void);
|
||||
extern void *_threadstkalloc(int);
|
||||
extern void _threadstkfree(void*, int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue