How to display the number of threads in mono?

Viewed 760

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

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

... resulting in something > 0.

However under Mono on OS X or Linux it always results in 0

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

1 Answers
Related