mpi4py.MPI.Request

Package mpi4py :: Module MPI :: Class Request |
[hide private]
[frames] | no frames]

# Class Request

Request handle

Instance Methods | [hide private]
None |
Cancel(self) Cancel a communication request |
None |
Free(self) Free a communication request |
bool |
Get_status(self, status: OptionalStatus=... = None) Non-destructive test for the completion of a request |
bool |
Test(self, status: OptionalStatus=... = None) Test for the completion of a send or receive |
bool |
Testall(cls, requests: SequenceRequest=..., statuses: OptionalListStatus=... = None) Test for completion of all previously initiated requests |
Tuple[int, bool] |
Testany(cls, requests: SequenceRequest=..., status: OptionalStatus=... = None) Test for completion of any previously initiated request |
Optional[List[int]] |
Testsome(cls, requests: SequenceRequest=..., statuses: OptionalListStatus=... = None) Test for completion of some previously initiated requests |
Literal[True] |
Wait(self, status: OptionalStatus=... = None) Wait for a send or receive to complete |
Literal[True] |
Waitall(cls, requests: SequenceRequest=..., statuses: OptionalListStatus=... = None) Wait for all previously initiated requests to complete |
int |
Waitany(cls, requests: SequenceRequest=..., status: OptionalStatus=... = None) Wait for any previously initiated request to complete |
Optional[List[int]] |
Waitsome(cls, requests: SequenceRequest=..., statuses: OptionalListStatus=... = None) Wait for some previously initiated requests to complete |
__eq__(y) x==y |
__ge__(y) x>=y |
__gt__(y) x>y |
__le__(y) x<=y |
__lt__(y) x<y |
__ne__(y) x!=y |
a new object with type S, a subtype of T |
__new__(S, ...) |
__nonzero__() x != 0 |
None |
cancel(self) Cancel a communication request |
Request |
f2py(cls, arg: int) |
bool |
get_status(self, status: OptionalStatus=... = None) Non-destructive test for the completion of a request |
int |
py2f(self) |
Tuple[bool, Optional[Any]] |
test(self, status: OptionalStatus=... = None) Test for the completion of a send or receive |
Tuple[bool, Optional[List[Any]]] |
testall(cls, requests: SequenceRequest=..., statuses: OptionalListStatus=... = None) Test for completion of all previously initiated requests |
Tuple[int, bool, Optional[Any]] |
testany(cls, requests: SequenceRequest=..., status: OptionalStatus=... = None) Test for completion of any previously initiated request |
Tuple[Optional[List[int]], Optional[List[Any]]] |
testsome(cls, requests: SequenceRequest=..., statuses: OptionalListStatus=... = None) Test for completion of some previously initiated requests |
Any |
wait(self, status: OptionalStatus=... = None) Wait for a send or receive to complete |
List[Any] |
waitall(cls, requests: SequenceRequest=..., statuses: OptionalListStatus=... = None) Wait for all previously initiated requests to complete |
Tuple[int, Any] |
waitany(cls, requests: SequenceRequest=..., status: OptionalStatus=... = None) Wait for any previously initiated request to complete |
Tuple[Optional[List[int]], Optional[List[Any]]] |
waitsome(cls, requests: SequenceRequest=..., statuses: OptionalListStatus=... = None) Wait for some previously initiated requests to complete |
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __new__(S, ...) |
Returns: a new object with type S, a subtype of T Overrides: object.__new__