When should we use thread-safe "_r" library calls?

Answer Posted / vidya

If you compile using _REENTRANT option, the thread-safe
functions are automatically substituted for the non thread
safe function. You need not specify *_r, you only use *

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is scheduling?

795


Explain similarities between thread and process?

729


Explain what are threads?

767


Tell me when should we use thread-safe "_r" library calls?

655


How would you kill a process?

771






explain about the initial process sequence while the system boots up?

775


Explain what are the main families of threads?

716


If your server is running on Unix and one of the sessions are keep on running without loading any data. how would you kill it?

771


Explain the performance differences between user-space threads and kernel-supported threads.?

800


Explain what is protection boundary?

759


What is the working set of a process?

730


Explain critical section?

774


What is the window of the working set of a process?

777


What is protection boundary?

820


Explain what is critical section?

716