mardi 5 janvier 2016

How can I override thread creation behavior in C++11?

In Apple's implementation of the pthread lib, the only way to change a thread's stack size is by passing a parameter to pthread_create (changing RLIMIT_STACK only works in Linux).

Is there a way to change C++11's thread creation behavior? Can I overide a function somehow?

I would like to use C++11 async with stack sizes much larger than 512K. Possible?

Aucun commentaire:

Enregistrer un commentaire