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

List the system calls used for process management?

621


Explain critical section?

610


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?

627


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

600


How would you kill a process?

632






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

640


Explain what is scheduling?

611


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

536


Explain how to work unix commands on windows xp without installing unix o/s in pc?

488


Explain what are threads?

633


Explain what is protection boundary?

574


Explain what are the main families of threads?

572


Explain similarities between thread and process?

588


What is protection boundary?

684


Explain the architectural differences between user-space threads, and kernel-supported threads?

513