Hi! > Maybe we also need to consider a situation that timestamp is just as > previous value? > i.e. > if (ds.shm_ctime - old_ctime > 10 || ds.shm_ctime - old_ctime == 0) I will change that to a range check, I.e. the ds.shm_ctime must be greater than old_ctime and smaller than old_ctime + 10. -- Cyril Hrubis chrubis@suse.cz