Re: [PATCH v3 18/25] struct lock_file: declare some fields volatile

2014-04-16 Thread Michael Haggerty
On 04/15/2014 08:55 AM, Johannes Sixt wrote: Am 4/14/2014 15:54, schrieb Michael Haggerty: The function remove_lock_file_on_signal() is used as a signal handler. It is not realistic to make the signal handler conform strictly to the C standard, which is very restrictive about what a signal

Re: [PATCH v3 18/25] struct lock_file: declare some fields volatile

2014-04-15 Thread Johannes Sixt
Am 4/14/2014 15:54, schrieb Michael Haggerty: The function remove_lock_file_on_signal() is used as a signal handler. It is not realistic to make the signal handler conform strictly to the C standard, which is very restrictive about what a signal handler is allowed to do. But let's increase

[PATCH v3 18/25] struct lock_file: declare some fields volatile

2014-04-14 Thread Michael Haggerty
The function remove_lock_file_on_signal() is used as a signal handler. It is not realistic to make the signal handler conform strictly to the C standard, which is very restrictive about what a signal handler is allowed to do. But let's increase the likelihood that it will work: The