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

What is protection boundary?

682


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

536


How would you kill a process?

628


Explain what are threads?

631


List the system calls used for process management?

616






Explain what are the main families of threads?

570


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

510


Explain what is scheduling?

608


Explain the different kinds of threads?

604


Explain what is critical section?

553


What is the working set of a process?

598


Explain what is protection boundary?

570


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?

624


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

592


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

639