Changeset e6bf128 in rtems-tools


Ignore:
Timestamp:
Feb 5, 2019, 5:07:24 AM (2 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
7f85a65
Parents:
5156445
git-author:
Chris Johns <chrisj@…> (02/05/19 05:07:24)
git-committer:
Chris Johns <chrisj@…> (02/07/19 18:41:03)
Message:

rtemstoolkit/config: Unlock when printing to avoid blocking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/rt/config.py

    r5156445 re6bf128  
    4646from rtemstoolkit import log
    4747from rtemstoolkit import path
     48
     49from rtemstoolkit import stacktraces
    4850
    4951import console
     
    342344    def _realtime_trace(self, text):
    343345        for l in text:
    344             print(''.join(l))
     346            self._unlock()
     347            try:
     348                print(''.join(l))
     349            except:
     350                stacktraces.trace()
     351                raise
     352            finally:
     353                self._lock()
    345354
    346355    def run(self):
Note: See TracChangeset for help on using the changeset viewer.