Hello,
i have 2 questions:
-
Can I get the current memory usage of a thread?
-
Can I use a member-function as (void*)(*)(void*) method to create a new thread with "pthread_create(...)"??
I would be happy about any suggestion.
Regards,
Rolf
Hello,
i have 2 questions:
Can I get the current memory usage of a thread?
Can I use a member-function as (void*)(*)(void*) method to create a new thread with "pthread_create(...)"??
I would be happy about any suggestion.
Regards,
Rolf
edit:
should have mentioned pthread_attr_getstacksize(), which gets memory allocated to the stack.