Closed
Description
We're about to get guard pages for green threads in #10460. We need to have guard pages for native tasks as well.
On windows, I don't believe that any extra action needs to be taken. All C code by default has stack checks, so it should all "Just Work".
On unix, it looks like we need to invoke pthread_attr_setguardsize
in order to instruct the thread to be spawned with a guard page at the end.