[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]

Re: [Flash Operator Panel] FOP loses connection when more than 10 buttons are using astdbkey


  • From: Nicolás Gudiño <nicolas@xxxxxxxxxxxx>
  • Date: Thu, 14 Jun 2007 21:20:08 -0300
  • Mailing-list: contact operator_panel-help@lists.house.com.ar; run by ezmlm

Caio Zanolla wrote:
Resolved adding a 1msec delay inside "sub actual_syswrite".
not the smartest thing to do, but its working now.

Nicolás, is there any side effects of this?

I don't think so... I will incorporate the patch into svn.. thanks!
-----snip

sub actual_syswrite {
   my ( $socket, $encriptadofinal, $whom, $log ) = @_;
   my $largo = length($encriptadofinal);
   my $res   = syswrite( $socket, $encriptadofinal, $largo );
#sleep 0.01 secs
select(undef, undef, undef, 0.01);
   if ( defined $res && $res > 0 ) {
       if ( $res != $largo ) {

-----snip



References to:
Caio Zanolla
Caio Zanolla

[Date Prev][Date Next][Thread Prev] [Thread Next][Date Index] [Thread Index]