1.

Which of the following locking method does not supported by APC?(a) File locks(b) Spin locks(c) Dead locks(d) IPC semaphoresI have been asked this question in final exam.My question is from Web Performance Optimization topic in chapter HTML Images & Web Page Files of HTML

Answer»

The correct answer is (c) Dead locks

To elaborate: APC supports four locking methods named File locks, Spin locks, Pthread mutex, IPC semaphores. File locks are the most STABLE, Spin LOCK gives the best performance, Pthread mutex is only available in Linux version 2.6, IPC semaphores are faster than file locks.



Discussion

No Comment Found

Related InterviewSolutions