How to define threadsafe?

后端 未结 8 1967
夕颜
夕颜 2020-12-31 11:48

Threadsafe is a term that is thrown around documentation, however there is seldom an explanation of what it means, especially in a language that is understandab

8条回答
  •  有刺的猬
    2020-12-31 12:07

    G'day,

    A good place to start is to have a read of the POSIX paper on thread safety.

    Edit: Just the first few paragraphs give you a quick overview of thread safety and re-entrant code.

    HTH

    cheers,

提交回复
热议问题