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

Add deterministic AnyEvent RWMutex reader-order regression

Đang mở
#1,671 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 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
54/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ệ
perl
Lĩnh vực
testing

Hướng nghiên cứu

Read the RWMutex coverage in upstream t/02_rw_mutex.t and inspect the project-owned test layout and synchronization support. Add a separate regression test that checks reader sharing and lock order through barriers or observed event order, leaving the imported test unchanged; run it on system Perl and both PerlOnJava backends.

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

Mô tả

Follow-up to #1470 and PR #1623.

PR #1623 merged the AnyEvent compatibility fixes. The unchanged AnyEvent::Tools 0.12 suite now passes all 7 files and 103 tests on system Perl, PerlOnJava JVM, and PerlOnJava interpreter.

The remaining test-quality concern is the RWMutex concurrency check: upstream t/02_rw_mutex.t uses a 90 ms wall-clock threshold to infer that readers started concurrently. A recent verification comment on #1470 asked for a deterministic event-order check because loaded-host timing is variable.

Add project-owned coverage that proves the reader-sharing and lock-order behavior using explicit synchronization/barriers or observed event order, without elapsed-time thresholds. Keep the imported upstream test unchanged. Run the new test on system Perl and both PerlOnJava backends.

Ngôn ngữ chính
Perl
Star
64
Fork
7
Merge trung bình
5 giờ 25 phút
Pull request đã merge (30 ngày)
178

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 fglock/PerlOnJava

Tất cả issue của fglock/PerlOnJava

Issue tương tự

Thêm issue về Perl

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.