Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

openblas_set_threads_callback_function is a silent no-op on Windows

Aberta
#6,108 2 comentários 1 reação 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

@martin-frbg já está trabalhando nisso.

Desde 9/10/2026.

  • #6115 de @martin-frbg — aberto

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
43/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
c
Domínio
backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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?

Linguagem predominante
C
Estrelas
7.6k
Forks
1.7k
Merge médio
1d 11h
PRs com merge (30d)
53

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de OpenMathLib/OpenBLAS

Todas as issues de OpenMathLib/OpenBLAS

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.