amos 9a08a6141b Add 2 HARD tasks from batch 28: ESP NVS iterator versions, RT-Thread workqueue timer
Batch 28 commit b7fd210 gave ESP NVS iterator versions and RT-Thread
workqueue timer state as HARD: all 3 attempts of each ran out of model
context, which counts as a failure. 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 23:49:00 +08:00

27 lines
660 B
C

/* SPDX-License-Identifier: Apache-2.0 */
#include <stdio.h>
#include <rtdevice.h>
#include "port.h"
static void completed(struct rt_work *work,void *data)
{
(void)work;
printf("completed %ld at %u\n",(long)data,rt_tick_get());
}
int main(void)
{
struct rt_workqueue *queue;
struct rt_work work;
os_init();
rt_system_timer_init();
rt_system_timer_thread_init();
queue=rt_workqueue_create("worker",8192,4);
os_drain();
rt_work_init(&work,completed,(void *)42);
printf("submit %ld\n",(long)rt_workqueue_submit_work(queue,&work,3));
os_drain();
os_tick(3);
rt_timer_check();
os_drain();
return 0;
}