Diff for reenterant 와 thread safe
FrontPage|FindPage|TitleIndex|RecentChanges|UserPreferences E D R S I M H RSS

No older revisions available

윤묵이형이 정리한 것



위의 URL에 가시면 설명이 되어 있습니다. 둘 간의 관계는 “it may be impossible to make a non-reentrant function thread-safe.” 로 설명이 될 것 같네요.

인용해서 요약하면

Reentrance A reentrant function does not hold static data over successive calls, nor does it return a pointer to static data. All data is provided by the caller of the function. A reentrant function must not call non-reentrant functions.

Thread-Safety A thread-safe function protects shared resources from concurrent access by locks. Thread-safety concerns only the implementation of a function and does not affect its external interface.

ShowPage|FindPage|DeletePage|LikePages| Valid XHTML 1.0! Valid CSS! powered by MoniWiki