On 10/12/2010 08:34, Øyvind Harboe wrote:
On Fri, Dec 10, 2010 at 9:28 AM, Peter Stuge<[email protected]>  wrote:
Øyvind Harboe wrote:
Two versions attached.

I'll leave it to you to decide which is the best way to
implement this

I prefer the longer but simpler to read one. Were it mostly a smaller
my own project then I'd gone with the shorter one.

I think optimizing for testability&  readability is the way to go here.

Especially considering the evidence that this code doesn't get tested
a whole lot....



Not looked into it but why do we not just duplicate the existing unregister event/timer functions - or are they broken aswell?

Cheers
Spen
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to