Merge pull request #2838 from alexrp/profiler-writer-thread-cpu2
authormonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 7 Apr 2016 04:00:33 +0000 (05:00 +0100)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 7 Apr 2016 04:00:33 +0000 (05:00 +0100)
[profiler] Use a semaphore to signal the writer thread.

We would previously constantly try to dequeue from the writer queue which would
result in extremely high CPU usage, making many apps (e.g. Xamarin Studio)
nearly unusable.


Trivial merge