Answer Posted / guest
If your system provides threads, it will probably provide a
set of thread-safe variants of standard C library routines.
A small number of these are mandated by the POSIX standard,
and many Unix vendors provide their own useful supersets,
including functions such as gethostbyname_r().
Unfortunately, the supersets that different vendors support
do not necessarily overlap, so you can only safely use the
standard POSIX-mandated functions. The thread-safe routines
are conceptually "cleaner" than their stateful
counterparts, though, so it is good practice to use them
wherever and whenever you can.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain what is critical section?
Explain the architectural differences between user-space threads, and kernel-supported threads?
List the system calls used for process management?
Explain the performance differences between user-space threads and kernel-supported threads.?
Explain what are threads?
How would you kill a process?
explain about the initial process sequence while the system boots up?
What is the window of the working set of a process?
What is the working set of a process?
Explain what is protection boundary?
Explain similarities between thread and process?
Explain critical section?
What is protection boundary?
Tell me when should we use thread-safe "_r" library calls?
Explain how to work unix commands on windows xp without installing unix o/s in pc?