Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: threads-common.c 7850 2007-05-02 16:21:12Z twisti $
+ $Id: threads-common.c 7853 2007-05-02 20:40:11Z twisti $
*/
}
+/* threads_table_get_threads ***************************************************
+
+ Return the number of running threads.
+
+ NOTE: This function does not lock the table.
+
+*******************************************************************************/
+
+s4 threads_table_get_threads(void)
+{
+ return threads_table.used;
+}
+
+
/* threads_table_get_non_daemons ***********************************************
Return the number of non-daemon threads.