Using multithreading: How to display the number of threads in mono? on newest questions tagged multithreading – Stack Overflow

I tried the following code which works fine in the windows CLR:

System.Diagnostics.Process.GetCurrentProcess().Threads.Count

… resulting to something > 0

However under mono on OSX or Linux it always results to 0

Is this a bug in mono or do I need another approach because of platform differences?

See Answers


source: http://stackoverflow.com/questions/11713303/how-to-display-the-number-of-threads-in-mono
Using multithreading: using-multithreading



online applications demo