#NEWLINE# def all( objects , timeout_ms = WAIT . INFINITE ) : #NEWLINE# #INDENT# 'Wait for all of the Windows synchronisation objects in the list to fire.\n    The objects must be winsys synchronisation objects(or, at least, have\n    a pyobject method which returns a PyHANDLE object).\n\n    :param objects: an iterable of winsys objects each of which has a waitable handle\n    :param timeout_ms: how many milliseconds to wait\n    :raises: :exc:`x_ipc_timeout` if `timeout_ms` is exceeded\n    ' #NEWLINE# handles = [ o . pyobject ( ) for o in objects ] #NEWLINE# result = wrapped ( win32event . WaitForMultipleObjects , handles , 1 , o ) #NEWLINE# if ( result == WAIT . TIMEOUT ) : #NEWLINE# #INDENT# raise x_ipc_timeout ( None , 'all' , 'Wait timed out' )