THE MAGAZINE FOR COMPUTER APPLICATIONS Circuit CellarOnline
offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.
WHAT'S
YOUR ENGINEERING QUOTIENT?
Take
a Swing!
Problem 4What
is a thread-safe function?
Answer: A thread-safe function
is one that can safely be called from a thread. Such a function must
be reentrant and any global data accessed by the function that might
be modified by another thread must be accessed using a process synchronization
mechanism.