So just recently, my async server code which relies on pthread_mutex_timedlock seem to have timed out prematurely. I thought it was just my bug at first, but seeing that there was some leap seconds issues with the linux kernel, it seems that I'm not the only one: https://lkml.org/lkml/2012/7/1/11
What is the current fix for this? Restart the server, or update kernel? My server's relying on the timedlock mechanism to wait for events from other threads, and with this premature timeout, the CPU usage has been at 100% because it never rests at the timed lock.
I'm currently running ubuntu server 10.04.4, with kernel version 2.6.39.1