Пример #1
0
 def __init__( self, nprocs ):
   InterComm.__init__( self, exe, args=['eventloop'], maxprocs=nprocs )
   assert self.nprocs == nprocs
   self.nhandles = 0
   self.released = []
Пример #2
0
 def __init__( self, nprocs ):
   InterComm.__init__( self, exe, args=['eventloop'], maxprocs=nprocs )
   assert self.nprocs == nprocs
   self.nhandles = 0
   self.released = []
Пример #3
0
 def __del__( self ):
   self.bcast( -1, token_t )
   InterComm.__del__( self )
Пример #4
0
 def __del__( self ):
   self.bcast( -1, token_t )
   InterComm.__del__( self )