Provide a runtime toggle for thread safety

Aperta
#3,226 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
testing

Direzione di ricerca

Start by reading how Catch2 currently implements thread safety and the feasibility thoughts mentioned in the issue; no files or tests are identified in the report. Determine whether a runtime toggle can support statically linked users choosing the performance trade-off, then define the behavior and tests before implementation. Done means users can select whether thread safety is enabled at runtime.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description
Please provide a runtime toggle for thread safety if possible. This would provide much more flexibility for users who use static linking to decide if they want to pay the performance cost for thread safety or not. @philsquared has started looking into the feasibility of this and has some thoughts, I'll let him chime in if he's so inclined

Lingua principale
C++
Stelle
21.6k
Fork
3.4k
Merge medio
3g 12h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di catchorg/Catch2

Tutte le issue di catchorg/Catch2

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.