Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsPollDescriptor (0.23 sec)

  1. src/internal/poll/fd_poll_runtime.go

    	if fd.pd.runtimeCtx == 0 {
    		return ErrNoDeadline
    	}
    	runtime_pollSetDeadline(fd.pd.runtimeCtx, d, mode)
    	return nil
    }
    
    // IsPollDescriptor reports whether fd is the descriptor being used by the poller.
    // This is only used for testing.
    //
    // IsPollDescriptor should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/internal/poll/fd_plan9.go

    }
    
    func isInterrupted(err error) bool {
    	return err != nil && stringslite.HasSuffix(err.Error(), "interrupted")
    }
    
    // IsPollDescriptor reports whether fd is the descriptor being used by the poller.
    // This is only used for testing.
    func IsPollDescriptor(fd uintptr) bool {
    	return false
    }
    
    // RawControl invokes the user-defined function f for a non-IO
    // operation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top