Friday, 13 September 2013

What is difference between pthread_mutex_lock() and pthread_mutex_trylock()

What is difference between pthread_mutex_lock() and pthread_mutex_trylock()

I am writing an application using parallel programming and want to use
synchronization. What is difference between these two functions and when
to use which.?

No comments:

Post a Comment