ollama/x/internal/mlxthread
Jesse Gross 4c97a940ca mlxthread: preserve the original stack when worker work panics
Work that panics on the locked MLX worker goroutine was recovered and
re-raised on the caller, so the printed trace pointed at the re-panic
site in this package rather than the code that actually panicked.

Capture the worker stack at recovery and carry it through a value that
implements error, so the runtime prints the original location in the
fatal trace.
2026-06-09 00:39:19 -07:00
..
thread.go mlxthread: preserve the original stack when worker work panics 2026-06-09 00:39:19 -07:00
thread_affinity_test.go Update MLX and MLX-C with threading fixes (#15845) 2026-05-03 10:03:14 -07:00
thread_test.go mlxthread: preserve the original stack when worker work panics 2026-06-09 00:39:19 -07:00
threadid_darwin_test.go Update MLX and MLX-C with threading fixes (#15845) 2026-05-03 10:03:14 -07:00
threadid_linux_test.go Update MLX and MLX-C with threading fixes (#15845) 2026-05-03 10:03:14 -07:00