Re: [PATCH v2 02/21] ptimer: Provide new transaction-based API

2019-10-08 Thread Richard Henderson
On 10/8/19 1:17 PM, Peter Maydell wrote: > Provide the new transaction-based API. If a ptimer is created > using ptimer_init() rather than ptimer_init_with_bh(), then > instead of providing a QEMUBH, it provides a pointer to the > callback function directly, and has opted into the transaction > API

[PATCH v2 02/21] ptimer: Provide new transaction-based API

2019-10-08 Thread Peter Maydell
Provide the new transaction-based API. If a ptimer is created using ptimer_init() rather than ptimer_init_with_bh(), then instead of providing a QEMUBH, it provides a pointer to the callback function directly, and has opted into the transaction API. All calls to functions which modify ptimer state: