Hi everybody,
I'm developing a multi threaded Unix application in C. Is there a simple way to get the count of the number of simultaneously active threads? I don't want to have to write the code to keep track of the number of active thread if it already can be done for me by the library! :-)
I'm using POSIX pthreads, and I'm trying to write as portable as possible code for Unix and Unix-like systems.