in reply to Re: Weird Output with Threads and NCurses
in thread Weird Output with Threads and NCurses
But the $Counter is same and we will have to write little complex code to use multiple counters. Then where do we really use threads in GUI Applications ?@positions = qw/5 15/; while (1) { for (@positions) { move($_, CONSTANT); addstr($Counter); $Counter++; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Weird Output with Threads and NCurses
by soonix (Chancellor) on Jul 18, 2016 at 11:18 UTC | |
|
Re^3: Weird Output with Threads and NCurses
by Marshall (Canon) on Jul 19, 2016 at 15:28 UTC |