This is a discussion on pthreads memory allocation - Linux ; Hi all when we use pthreads i.e compile the program with -lpthread , why does the program size increses from 56 k to 8388k. in theory when threads are used the memory allocation should be minimum , but its increased ...
Hi all
when we use pthreads i.e compile the program with -lpthread , why
does the program size increses from 56 k to 8388k.
in theory when threads are used the memory allocation should be minimum
, but its increased to a great value in my case .
it checked this value is /proc//status file .
could someone please elaborate on that