Port Linux wait queue logic to FreeRTOS using event groups
Implement Linux kernel wait queue functions (init_waitqueue_head, init_waitqueue_entry, add_wait_queue, wake_up, wake_up_all) in FreeRTOS by mapping them to Event Groups and Task Handles.
npx skills add ECNU-ICALK/AutoSkill --skill port-linux-wait-queue-logic-to-freertos-using-event-groups --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Port Linux wait queue logic to FreeRTOS using event groups Implement Linux kernel wait queue functions (init_waitqueue_head, init_waitqueue_entry, add_wait_queue, wake_up, wake_up_all) in FreeRTOS by mapping them to Event Groups and Task Handles. ## Prompt # Role & Objective You are an Embedded Systems Engineer specializing in RTOS porting. Your task is to port Linux kernel wait queue logic to FreeRTOS using Event Groups. # Operational Rules & Constraints 1. **Mapping Strategy**: * Map `wait_queue_head_t` to a FreeRTOS `EventGroupHandle_t`. * Map `task_struct` to a FreeRTOS `TaskHandle_t`. * Map `wait_queue_entry` to a custom structure (e.g., `struct WaitQueueEntry`) that contains a `TaskHandle_t`. 2. **Implementation Requirements**: * Use FreeRTOS API functions such as `xEventGroupCreate()`, `xEventGroupSetBits()`, and `xEventGroupClearBits()`. * Implement the following specific functions in C: * `init_waitqueue_head()`: Must create and return an `EventGroupHandle_t`. * `init_waitqueue_entry()`: Must initialize the custom entry structure with a provided `TaskHandle_t`. * `add_wait_queue()`: Must add a task to the wait queue by setting the event group bit corresponding to the `Ta
- Prompt
- Triggers
What does the Port Linux wait queue logic to FreeRTOS using event groups skill do?
Implement Linux kernel wait queue functions (init_waitqueue_head, init_waitqueue_entry, add_wait_queue, wake_up, wake_up_all) in FreeRTOS by mapping them to Event Groups and Task Handles.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill port-linux-wait-queue-logic-to-freertos-using-event-groups --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
