how to find no. of active threads using mysql global variable in C/C++?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vprakash30
    New Member
    • Aug 2010
    • 1

    #1

    how to find no. of active threads using mysql global variable in C/C++?

    if any one know the coding also please send immediately
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    This is not a C/C++ issue. It is an OS issue.

    About all you can do is keep track of the threads that you create.

    Any threads created by code outside your control cannot counted.

    Check the thread system calls available on your OS.

    Comment

    Working...