mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-09 19:54:19 +00:00
Blocking: fix Windows bug (Forum #60430)
git-svn-id: https://svn.fhem.de/fhem/trunk@12648 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a8742ed92b
commit
94f4f6d03c
@ -98,7 +98,7 @@ BlockingStart(;$)
|
||||
for my $bpid (sort { $a <=> $b} keys %BC_hash) {
|
||||
my $h = $BC_hash{$bpid};
|
||||
|
||||
if($h->{pid} && $h->{pid} =~ m/^\d+$/) {
|
||||
if($h->{pid} && $h->{pid} =~ m/^-?\d+$/) { # Windows threads are negative
|
||||
if($^O =~ m/Win/) {
|
||||
# MaxNr of concurrent forked processes @Win is 64, and must use wait as
|
||||
# $SIG{CHLD} = 'IGNORE' does not work.
|
||||
|
Loading…
x
Reference in New Issue
Block a user