Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

openblas_set_threads_callback_function is a silent no-op on Windows

Đang mở
#6,108 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@martin-frbg đang làm issue này rồi.

Từ ngày 9/10/2026.

  • #6115 của @martin-frbg — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
43/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c
Lĩnh vực
backend

Hướng nghiên cứu

Read driver/others/blas_server_win32.c and compare its current Windows threading backend with commit 7102367fd and the history described for #4835. First determine whether caller-managed threading is intended to be supported on Windows; if it is, verify the callback registration and invocation behavior, and if not, clarify the limitation for callers. Done means the behavior is no longer silently misleading and is consistent with the project's decision.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

On Windows, openblas_set_threads_callback_function() is accepted and silently ignored: the registered callback is never invoked, and no error or warning is produced. The symbol is exported and declared in cblas.h, so callers have no way to tell that caller-managed threading is not in effect.

This looks like fallout from #4835 rather than an intentional limitation.

History

The win32 backend did have the hook:

  • 7102367fd ("Introduced callback to Pthread, Win32 and OpenMP backend") added it, on top of the file as it stood after #4359.
  • #4835 undid #4359 by replacing driver/others/blas_server_win32.c with its pre-#4359 revision.

Question

Is this worth restoring, or is caller-managed threading deliberately unsupported on Windows?

Ngôn ngữ chính
C
Star
7.6k
Fork
1.7k
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
53

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenMathLib/OpenBLAS

Tất cả issue của OpenMathLib/OpenBLAS

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.