User guide: software timers and work queues
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 76/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c
- Lĩnh vực
- documentation
Hướng nghiên cứu
Start with docs/specs/SPEC-003-time-timeouts-and-timers.md and docs/specs/SPEC-006-notifications-and-work-queues.md, then check the APIs in include/emb/timer.h and include/emb/work.h and examples in examples/controller. Write docs/user/timers-and-work.md, add it to docs/user/index.md's toctree, and confirm the strict docs build passes and every example compiles; report those checks in the PR.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
Write the user-guide page on software timers and work queues: docs/user/timers-and-work.md. Both exist and are tested, but the user guide does not explain them yet.
What exists
- The API:
include/emb/timer.h,include/emb/work.h. - The design: SPEC-003 (time, timeouts, timers) and SPEC-006 (work queues).
- The tests:
tests/conformance/test_timer.c,test_workq.c. - The reference controller uses both:
examples/controller.
What the page should cover
- One-shot and periodic timers; why a periodic timer does not drift; what happens when a callback overruns.
- Where a timer callback runs (a work queue or interrupt context), and what each allows.
- Work queues: submitting from an interrupt, cancel and synchronous cancel, flush, delayed work.
- When to use a timer, a work item or a thread with
emb_thread_sleep_until(). - A short, complete example for each.
Done when
- The page exists and is in
docs/user/index.md's toctree, and the strict docs build passes. - Every code example compiles; say in the PR how you checked.
- Ngôn ngữ chính
- C
- Star
- 1
- Fork
- 1
- Merge trung bình
- 14 giờ 21 phút
- Pull request đã merge (30 ngày)
- 125
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của EmbLinkOs/EmbLinkRTOS
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
EmbLinkOs/EmbLinkRTOS#111 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
EmbLinkOs/EmbLinkRTOS#116 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
EmbLinkOs/EmbLinkRTOS#115 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 83/100
EmbLinkOs/EmbLinkRTOS#113 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 34/100
EmbLinkOs/EmbLinkRTOS#112 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của EmbLinkOs/EmbLinkRTOS
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: test kind: bug preview-effort: small priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
libsdl-org/SDL#16684 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Issue-Bug Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày