Class Selector

    • Constructor Detail

    • Method Detail

      • select

        public int select​(byte[] memory,
                          int outEventPtr,
                          int nbOccuredEventPtr)
        Select the subscription events whose the associated files descriptors are ready.
        Parameters:
        memory - the memory to be used to write the selected event result.
        outEventPtr - the start offset in the memory to write the selected event result.
        nbOccuredEventPtr - the offset in the memory to write the number of event selected.
        Returns:
        WasiConstants.ERRNO_SUCCESS on success, or an ERRNO value on error (see WasiConstants).