I have multithreaded C++ Application that runs both on Windows as well as Solaris platforms. At any point of time the application is running with 26 persistent threads. There are some worker threads also but they do their job and finished.
My problem is that in the application the number of handles of type "Thread" are continously increasing as time goes by. When I see the task manager or when I see the stack dump of all the threads in my application then it matches with the number of threads it is showing in the task manager. But when I dump the handles then the number of thread type handles are much greater then actual number of threads in the application.
Please let me know why these thread handles are growing continously when I am using CloseHandle() to terminate the thread handles?
Also these handles are not in proportion with the Worker Threads that are spawning and finished every x seconds. Implies that the handles of temorary threads are getting closed.
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.