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>
27 lines
660 B
C
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;
|
|
}
|