feat: publish Android 1.0.1 candidate source and acceptance evidence

This commit is contained in:
UCVL Software Automation
2026-09-03 11:07:02 +08:00
commit 0a8bdc9fff
971 changed files with 184984 additions and 0 deletions
@@ -0,0 +1,52 @@
/*
============================================================================
Name : task.c
Author : Heiher <r@hev.cc>
Copyright : Copyright (c) 2018 everyone.
Description : Task Test
============================================================================
*/
#include <stddef.h>
#include <assert.h>
#include <hev-task.h>
#include <hev-task-system.h>
static int count;
static void
task1_entry (void *data)
{
count++;
}
static void
task2_entry (void *data)
{
count++;
}
int
main (int argc, char *argv[])
{
HevTask *task;
assert (hev_task_system_init () == 0);
task = hev_task_new (-1);
assert (task);
hev_task_run (task, task1_entry, NULL);
task = hev_task_new (-1);
assert (task);
hev_task_run (task, task2_entry, NULL);
hev_task_system_run ();
hev_task_system_fini ();
assert (count == 2);
return 0;
}