mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-24 19:40:28 +00:00
Simplify memory manager
This commit is contained in:
parent
5a9a08d1cf
commit
01587de761
40 changed files with 451 additions and 311 deletions
|
@ -244,7 +244,7 @@ int main(int argc, char *argv[]) {
|
|||
sigset_t block;
|
||||
sigfillset(&block);
|
||||
pthread_attr_t attr;
|
||||
int pagesz = getauxval(AT_PAGESZ);
|
||||
int pagesz = getpagesize();
|
||||
pthread_t *threads = calloc(nthreads, sizeof(pthread_t));
|
||||
unassert(!pthread_attr_init(&attr));
|
||||
unassert(!pthread_attr_setstacksize(&attr, 65536));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue