[英]What does it mean when a ManualResetEventSlim is inflated?
I'm currently reading ManualResetEventSlim's Reference . 我目前正在阅读ManualResetEventSlim的参考 。
What does it mean when it says: 它说的是什么意思:
A common use of MRES.WaitHandle is to use MRES as a participant in WaitHandle.WaitAll/WaitAny.
MRES.WaitHandle的常见用法是将MRES用作WaitHandle.WaitAll / WaitAny的参与者。 Note that accessing MRES.WaitHandle will result in the unconditional inflation of the underlying ManualResetEvent.
请注意,访问MRES.WaitHandle将导致基础ManualResetEvent的无条件膨胀 。
What is this inflation thing? 这是什么通货膨胀 ?
Thanks for reading. 谢谢阅读。
The slim part of ManualResetEventSlim
is that it does not create an OS-level ManualResetEvent
until needed. ManualResetEventSlim
的苗条部分是直到需要时才创建操作系统级别的ManualResetEvent
。 (those are expensive) (那些很贵)
Inflation means creating a real ManualResetEvent
. 通货膨胀意味着创建一个真实的
ManualResetEvent
。
You can see this on line 275 of the source . 您可以在源代码的第275行上看到此内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.