Show
Ignore:
Timestamp:
05/24/04 16:36:40 (20 years ago)
Author:
jalet
Message:

Revert to old polling loop. Will need optimisations

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/accounters/hardware.py

    r1483 r1494  
    2222# 
    2323# $Log$ 
     24# Revision 1.3  2004/05/24 14:36:40  jalet 
     25# Revert to old polling loop. Will need optimisations 
     26# 
    2427# Revision 1.2  2004/05/18 14:49:22  jalet 
    2528# Big code changes to completely remove the need for "requester" directives, 
     
    128131        child.fromchild.close()     
    129132        child.tochild.close() 
    130         status = child.wait() 
     133        try : 
     134            status = child.wait() 
     135        except OSError, msg :     
     136            self.filter.logdebug("Error while waiting for hardware accounter pid %s : %s" % (child.pid, msg)) 
     137            error = 1 
    131138        if (not error) and os.WIFEXITED(status) and (not os.WEXITSTATUS(status)) : 
    132139            return pagecounter