diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-11 21:06:44 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-12 00:52:18 +0900 |
| commit | 04e6bc3c5c99d6a99f17cfa5f69f34fe8941aee2 (patch) | |
| tree | 2ad64307c13e2f967fdf17c5f02e7682189b22e1 /internal/outcome/shim.go | |
| parent | 5c540f90aa5ac069a370cbef0ddd81fa268b43c5 (diff) | |
hst: expose scheduling policy
This is primarily useful for poorly written music players for now.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/outcome/shim.go')
| -rw-r--r-- | internal/outcome/shim.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/outcome/shim.go b/internal/outcome/shim.go index 8fc46f2a..53b37310 100644 --- a/internal/outcome/shim.go +++ b/internal/outcome/shim.go @@ -274,6 +274,7 @@ func shimEntrypoint(k syscallDispatcher) { cancelContainer.Store(&stop) sp := shimPrivate{k: k, id: state.id} z := container.New(ctx, msg) + z.SchedPolicy = state.Shim.SchedPolicy z.Params = *stateParams.params z.Stdin, z.Stdout, z.Stderr = os.Stdin, os.Stdout, os.Stderr |
