My code is a single thread program. if i allocate the stack size of 1024K so how would i find when main thread executes how much stack has been consumed and how much is still available? and if i do...
Type: Posts; User: aditiya
My code is a single thread program. if i allocate the stack size of 1024K so how would i find when main thread executes how much stack has been consumed and how much is still available? and if i do...
but i think this works to find out the stack trace i.e the usage of stack.but i have to find out the remaing stack size of code.
hello gyus is there any way to find out the current stack size of any program?