- or download this
my $output_sem : shared = Thread::Semaphore->new();
- or download this
if ($success)
{
...
curs_to_ptr($input_window, $ptr);
$output_sem->up();
}
- or download this
elsif ($key eq chr(1)) # home
{
...
curs_to_ptr($input_window, $ptr);
$output_sem->up();
}
- or download this
sub icb_print
{
...
$output_sem->up();
}