Initial stack allocation size of 4K bytes
Hi,
I created a posix thread, the default stack allocated by the thread is 4K size but my thread is quite light in weight and 2K bytes of stack is more than enough for me, how can i acheive this?
Can i modify the stack allocated by system to a thread?
|