amos 63bdf4c8bb Add 3 HARD tasks from batch 28: RT-Thread mutex ceilings, LVGL repeat, soft timers
Batch 28 commit ca63702 gave RT-Thread mutex priority ceilings (1 of 3
passed), LVGL repeat cadence and RT-Thread soft-timer wakeup (0 of 3) as
HARD. Each task comes from the commit Qwen measured, its digest matches,
and it is still present at the batch branch head.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 22:20:12 +08:00

16 lines
542 B
C

#ifndef CONTROLLED_PORT_H
#define CONTROLLED_PORT_H
#include <rtthread.h>
void port_init(rt_tick_t tick);
void port_pump(void);
void port_advance(rt_tick_t tick);
rt_thread_t port_worker(void);
void port_capture_lock(void);
struct rt_spinlock *port_captured_lock(void);
void port_after_unlock(struct rt_spinlock *lock, void (*fn)(void *), void *arg);
void port_before_lock(struct rt_spinlock *lock, void (*fn)(void *), void *arg);
int port_duplicate_ready(void);
int port_ready_count(rt_thread_t thread);
int port_interleavings(void);
#endif