Home / Function/ isRegisterIoWqWorkerSupported() — netty Function Reference

isRegisterIoWqWorkerSupported() — netty Function Reference

Architecture documentation for the isRegisterIoWqWorkerSupported() function in Native.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  148273d7_17cf_82f1_35a6_856d57a1a578["isRegisterIoWqWorkerSupported()"]
  6ddaf968_1eb9_8057_3938_2ad6d5ebbbeb["Native"]
  148273d7_17cf_82f1_35a6_856d57a1a578 -->|defined in| 6ddaf968_1eb9_8057_3938_2ad6d5ebbbeb
  767ae283_c604_be2e_6522_0c024a9c3693["ioUringRegisterIoWqMaxWorkers()"]
  148273d7_17cf_82f1_35a6_856d57a1a578 -->|calls| 767ae283_c604_be2e_6522_0c024a9c3693
  style 148273d7_17cf_82f1_35a6_856d57a1a578 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/Native.java lines 495–503

    static boolean isRegisterIoWqWorkerSupported(int ringFd) {
        // See https://github.com/torvalds/linux/blob/v5.5/fs/io_uring.c#L5488C10-L5488C16
        int result = ioUringRegisterIoWqMaxWorkers(ringFd, 0, 0);
        if (result >= 0) {
            return true;
        }
        // This is not supported and so will return -EINVAL
        return false;
    }

Domain

Subdomains

Frequently Asked Questions

What does isRegisterIoWqWorkerSupported() do?
isRegisterIoWqWorkerSupported() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/Native.java.
Where is isRegisterIoWqWorkerSupported() defined?
isRegisterIoWqWorkerSupported() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/Native.java at line 495.
What does isRegisterIoWqWorkerSupported() call?
isRegisterIoWqWorkerSupported() calls 1 function(s): ioUringRegisterIoWqMaxWorkers.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free