Re: [PATCH 06/10] posix-cpu-timers: fix wrong timer initialization

2013-04-30 Thread Olivier Langlois
On Mon, 2013-04-29 at 23:17 -0400, kosaki.motoh...@gmail.com wrote: > From: KOSAKI Motohiro > > Currently glibc's rt/tst-cputimer1 testcase is spradically fail because > a timer created by timer_create() may fire earlier than it's specified. > > posix_cpu_timer_set() uses "val" as current time

Re: [PATCH 06/10] posix-cpu-timers: fix wrong timer initialization

2013-04-30 Thread Olivier Langlois
On Mon, 2013-04-29 at 23:17 -0400, kosaki.motoh...@gmail.com wrote: From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Currently glibc's rt/tst-cputimer1 testcase is spradically fail because a timer created by timer_create() may fire earlier than it's specified. posix_cpu_timer_set()

[PATCH 06/10] posix-cpu-timers: fix wrong timer initialization

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro Currently glibc's rt/tst-cputimer1 testcase is spradically fail because a timer created by timer_create() may fire earlier than it's specified. posix_cpu_timer_set() uses "val" as current time for three purpose. 1) initialize sig->cputimer. 2) calculation "old" val. 3)

[PATCH 06/10] posix-cpu-timers: fix wrong timer initialization

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Currently glibc's rt/tst-cputimer1 testcase is spradically fail because a timer created by timer_create() may fire earlier than it's specified. posix_cpu_timer_set() uses val as current time for three purpose. 1) initialize sig-cputimer. 2)