11 Jul
2014
11 Jul
'14
3:47 p.m.
On Fri, Jul 11, 2014 at 10:41 AM, José
I am creating a "lot" of coroutines in my code. When I create more than 32744 coroutines (for this example) the program ends with segmentation fault.
So, I would like to known if there is a limit number for active coroutines?
What operating system are you using? Ubuntu 13.10, kernel 3.11.0-18 Is it 32-bit or 64-bit? x86_64 What compiler and version are you using? I tried Boost 1.55 with g++ 4.8.1 and clang++ 3.2 Are you building 32-bit or 64-bit? 64-bit
Perhaps you could try the "segmented stacks" approach ("split stacks")? http://www.boost.org/doc/libs/1_55_0/libs/coroutine/doc/html/coroutine/stack...