.NET Controls: Why aren't all calls thread-safe?

前端 未结 4 937
故里飘歌
故里飘歌 2020-12-07 02:48

After exploding with excitement over learning about how to make thread-safe calls to Windows Form Controls, it got me thinking...

Why aren\'t all ca

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-07 03:11

    Because it would reduce performance and writing lock-free thread safe code is still an area of active research.

提交回复
热议问题