À±¹¬ÀÌÇüÀÌ Á¤¸®ÇÑ °Í ============================================================ http://www.unet.univie.ac.at/aix/aixprggd/genprogc/writing_reentrant_thread_safe_code.htm À§ÀÇ 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.