MCPcopy Create free account
hub / github.com/XpuOS/xsched / XQueueCreate

Method XQueueCreate

python/xsched/__init__.py:229–232  ·  view source on GitHub ↗
(hwq: HwQueueHandle, level: XPreemptLevel, flags: int)

Source from the content-addressed store, hash-verified

227
228 @staticmethod
229 def XQueueCreate(hwq: HwQueueHandle, level: XPreemptLevel, flags: int) -> Tuple[XResult, XQueueHandle]:
230 xq = XSched.__xqh_ctype()
231 res = XSched.__dll.XQueueCreate(ctypes.byref(xq), hwq, level, flags)
232 return XResult(res), xq.value
233
234 @staticmethod
235 def XQueueDestroy(xq: XQueueHandle) -> XResult:

Callers

nothing calls this directly

Calls 1

XResultClass · 0.85

Tested by

no test coverage detected