How to tag that a class is thread-safe (or not)?

前端 未结 2 798
傲寒
傲寒 2021-02-07 00:59

In MSDN documentation we see :

Console

Thread Safety

This type is thread safe.

TextWriter

Thread Safet

2条回答
  •  不要未来只要你来
    2021-02-07 01:29

    Add this detail to the

    or tags.

    There is no specific tag or convention on how to indicate a class is thread safe - you need to write it in your documentation.

提交回复
热议问题