mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
mtr_timer.pl, mtr_report.pl, mtr_process.pl, mysql-test-run.pl:
Backporting from 5.0 mysql-test/mysql-test-run.pl: Backporting from 5.0 mysql-test/lib/mtr_process.pl: Backporting from 5.0 mysql-test/lib/mtr_report.pl: Backporting from 5.0 mysql-test/lib/mtr_timer.pl: Backporting from 5.0
This commit is contained in:
@ -15,6 +15,7 @@ use POSIX 'WNOHANG';
|
||||
sub mtr_init_timers ();
|
||||
sub mtr_timer_start($$$);
|
||||
sub mtr_timer_stop($$);
|
||||
sub mtr_timer_stop_all($);
|
||||
sub mtr_timer_waitpid($$$);
|
||||
|
||||
##############################################################################
|
||||
@ -113,6 +114,17 @@ sub mtr_timer_stop ($$) {
|
||||
}
|
||||
|
||||
|
||||
sub mtr_timer_stop_all ($) {
|
||||
my $timers= shift;
|
||||
|
||||
foreach my $name ( keys %{$timers->{'timers'}} )
|
||||
{
|
||||
mtr_timer_stop($timers, $name);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
sub mtr_timer_timeout ($$) {
|
||||
my ($timers,$pid)= @_;
|
||||
|
||||
|
Reference in New Issue
Block a user