Hi,
How to find the stack size available for main thread in a program(which contains the main() function)
In the case of linux, we can specify the stack size available for the whole program in linker script during linking. For all other threads, we can specify the stack size when creating the thread . But how is it done for main thread?