Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
>> On Fri, May 9, 2008 at 11:29 AM, Jan Kiszka <[EMAIL PROTECTED]> wrote:
>>> +       if (xnthread_test_info(thread, XNDEBUG))
>>> +               unlock_timers();
>>> +
>> Will this work if several threads are currently being debugged ?
> Not better or worse than with the current code. The whole approach is
> not fixed by this patch, just some collateral damage is reduced.
> Well, maybe some counter should be used to track the number of XNDEBUG
> bits in the system and unfreeze the timers when that becomes zero. Will
> look into this.

Correction: that counter already exists in nkpod->timerlck. So it should
work even if other threads still have XNDEBUG set.


Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux

Xenomai-core mailing list

Reply via email to