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

Method XQueueSetPreemptLevel

python/xsched/__init__.py:246–248  ·  view source on GitHub ↗
(xq: XQueueHandle, level: int)

Source from the content-addressed store, hash-verified

244
245 @staticmethod
246 def XQueueSetPreemptLevel(xq: XQueueHandle, level: int) -> XResult:
247 res = XSched.__dll.XQueueSetPreemptLevel(xq, level)
248 return XResult(res)
249
250 @staticmethod
251 def XQueueSetLaunchConfig(xq: XQueueHandle, threshold: int, batch_size: int) -> XResult:

Callers

nothing calls this directly

Calls 1

XResultClass · 0.85

Tested by

no test coverage detected