Writing Reentrant and Thread-Safe Code(编写可重入和线程安全的代码)
WritingReentrantandThread-SafeCode Insingle-threadedprocessesthereisonlyoneflowofcontrol.Thecodeexecutedbytheseprocessesthusneednottobereentrantorthread-safe.Inmulti-threadedprograms,thesamefunctions