The scenario is as follows,
I am having few threads with same dynamic library, which uses clock_gettime(with CLOCK_REALTIME) to get the current time stamp. In one of the thread will always shows the time with a 1 hour difference. The issue occurs some times on ppc processor restart, otherwise there is no jump in time. My system is not SMP.
rt = t.tv_sec;
strftime(tmp, sizeof(tmp), "%Y/%m/%d %H:%M:%S", &t1);
[Wed Sep 26 16:47:45 2012] thread 1
[Wed Sep 26 17:47:45 2012] thread 2
[Wed Sep 26 16:47:45 2012] thread 3
[Wed Sep 26 16:47:45 2012] thread 4
Is there any hope of light.
Last edited by bijoy; 10-19-2012 at 02:51 AM.