[profiler] Fix incorrect initial writer semaphore value.
commita3b5a6ee024265adfa63ca5349497217d6d3b9f1
authorAlex Rønne Petersen <alexrp@xamarin.com>
Fri, 8 Apr 2016 10:36:20 +0000 (8 12:36 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Fri, 8 Apr 2016 10:43:00 +0000 (8 12:43 +0200)
treed6959a81f4b2b01d54f6655610dc7977780dd27a
parent4c2f1451498902dc8b51b248616d8961dde19b6e
[profiler] Fix incorrect initial writer semaphore value.

This was used during debugging. I forgot to revert it back to 0 before posting
the pull request (#2838). This led to ~3-5% more CPU usage by the writer thread
than actually necessary; it now sits around 0-1% for typical workloads.
mono/profiler/proflog.c