Re: [PATCH weston 1/2] clients: consolidate timer code part 1

2018-03-12 Thread Pekka Paalanen
On Fri, 9 Mar 2018 11:32:47 -0600 Derek Foreman wrote: > On 2018-03-09 05:44 AM, Pekka Paalanen wrote: > > From: Pekka Paalanen > > > > There are multiple copies for the timerfd handling code, and I need a > > timer in one more app. Consolidate all the timerfd code into window.c to > > reduce t

Re: [PATCH weston 1/2] clients: consolidate timer code part 1

2018-03-09 Thread Daniel Stone
Hi, On 9 March 2018 at 17:32, Derek Foreman wrote: > On 2018-03-09 05:44 AM, Pekka Paalanen wrote: >> There are multiple copies for the timerfd handling code, and I need a >> timer in one more app. Consolidate all the timerfd code into window.c to >> reduce the duplication. Many of the copies wer

Re: [PATCH weston 1/2] clients: consolidate timer code part 1

2018-03-09 Thread Derek Foreman
On 2018-03-09 05:44 AM, Pekka Paalanen wrote: From: Pekka Paalanen There are multiple copies for the timerfd handling code, and I need a timer in one more app. Consolidate all the timerfd code into window.c to reduce the duplication. Many of the copies were also flawed against the race mentione

[PATCH weston 1/2] clients: consolidate timer code part 1

2018-03-09 Thread Pekka Paalanen
From: Pekka Paalanen There are multiple copies for the timerfd handling code, and I need a timer in one more app. Consolidate all the timerfd code into window.c to reduce the duplication. Many of the copies were also flawed against the race mentioned in toytimer_fire(). This patch handles clickd