Provide a runtime toggle for thread safety

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

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
testing

Hướng nghiên cứu

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.

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

Mô tả

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

Ngôn ngữ chính
C++
Star
21.6k
Fork
3.4k
Merge trung bình
3 ngày 12 giờ
Pull request đã merge (30 ngày)
5

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

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 catchorg/Catch2

Tất cả issue của catchorg/Catch2

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.