diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2015-03-19 02:02:44 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-03-20 17:53:15 +0100 |
commit | 451275470106024f106a310a5af050b3ca046a4f (patch) | |
tree | 291cfa92cf4e06a0d3a10e7721a3913c2ec90538 /lockme.h | |
parent | 3dfaab495b62658b88a1ed201b2ed61aea34570d (diff) |
flowtop: Don't init screen until collector is ready
In case if main thread already initialized screen but then collector
called panic, the process exits but console stays with the same colored
screen and shifted shell prompt.
Fixed by adding conditional variable locking.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'lockme.h')
0 files changed, 0 insertions, 0 deletions