[haiku-commits] Re: r39965 - haiku/trunk/src/add-ons/kernel/generic/dpc

  • From: Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 29 Dec 2010 11:55:09 +0100

2010/12/29 Philippe Houdoin <philippe.houdoin@xxxxxxxxx>:
>> Precedence wasn't the issue here, though.
>> The semantics of the post-increment operator, which always returns the old
>> value, was. The pre-increment operator would have worked.
> I'm *so* sorry about this one.
> Let's hope it doesn't explain any ACPI issues we had since long...
>
> There is the same broken code with queue->head in dpc_thread(), BTW.

It was fixed in the commit after.
No need to be sorry, I'd probably do a worse job if I wrote the DPC-module.

/Fredrik Holmqvist, TQH

Other related posts: