Affected by GO-2025-3548
and 8 other vulnerabilities
GO-2025-3548 : Ollama Vulnerable to Denial of Service (DoS) via Crafted GZIP in github.com/ollama/ollama
GO-2025-3557 : Ollama Allocation of Resources Without Limits or Throttling vulnerability in github.com/ollama/ollama
GO-2025-3558 : Ollama Allows Out-of-Bounds Read in github.com/ollama/ollama
GO-2025-3559 : Ollama Divide By Zero vulnerability in github.com/ollama/ollama
GO-2025-3582 : Ollama Denial of Service (DoS) via Null Pointer Dereference in github.com/ollama/ollama
GO-2025-3689 : Ollama Divide by Zero Vulnerability in github.com/ollama/ollama
GO-2025-3695 : Ollama Server Vulnerable to Denial of Service (DoS) Attack in github.com/ollama/ollama
GO-2025-3824 : Ollama vulnerable to Cross-Domain Token Exposure in github.com/ollama/ollama
GO-2025-4251 : Ollama has missing authentication enabling attackers to perform model management operations in github.com/ollama/ollama
Discover Packages
github.com/ollama/ollama
x
internal
mlxthread
package
Version:
v0.23.2
Opens a new window with list of versions in this module.
Published: May 7, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Start creates a long-lived worker goroutine locked to one OS thread.
Do runs fn on the locked OS thread.
Context cancellation only applies while the work is queued. Once the worker
accepts a job, the job runs until fn returns or reaches its own cancellation
checks.
Stop runs cleanup on the locked OS thread and then shuts the worker down.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.