colorify.js

Fiddling with thread stacks

So, you want to mess with threads' stack? it's a bit hard to find meaningful online examples. All you find are some trivial examples of calling pthread_attr_setstack and some guys asking why on earth you want to do that, and telling you that's a sign of bad design and such.
There can be a few reasons for setting stack size, stack address, and protector page size.