[Feature Request] vApplicationTickHook Signals Context Switch Required

Đang mở
#1,353 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 3 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
8/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
c
Lĩnh vực
operating-systems

Hướng nghiên cứu

This is a design question, not a ready task. Start by reading how vApplicationTickHook is called from the kernel's tick handling and where the FromISR calls that may need a context switch are made. The open decisions are the new parameter's shape and the version bump, and the thread has no comments or maintainer decision yet. Done would mean an agreed signature and a proposal the maintainers accept.

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

Mô tả

enhancement

Is your feature request related to a problem? Please describe.
The vApplicationTickHook function cannot signal if a task switch is required. This is important as several FromISR methods can result in a task switch being needed.

NOTE: This will require a minor or major version bump as this is not backwards compatible with the existing vApplicationTickHook signature.

Describe the solution you'd like
Add a parameter to the vApplicationTickHook function allowing the function to signal a context switch is required.

Describe alternatives you've considered
N/A - alternatives are possible. This is the cleanest change for all FreeRTOS users.

How many devices will this feature impact?
See user responses.

What are your project timelines?
See user responses

Additional context
https://forums.freertos.org/t/using-vapplicationtickhook/2632

If you have the same (or similar) feature request, please upvote this issue with thumbs up 👍
and use the comments section to provide answers to the questions above.

Ngôn ngữ chính
C
Star
4.6k
Fork
1.6k
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
4

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 FreeRTOS/FreeRTOS-Kernel

Tất cả issue của FreeRTOS/FreeRTOS-Kernel

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.