mirror of
https://gitlab.com/d3tn/ud3tn.git
synced 2026-08-13 12:33:27 +02:00
Adds a parameter to the `hal_task_create()` function to allow non-detached threads and a second parameter to pass the thread identifier. Signed-off-by: Maximilian Nitsch <maximilian.nitsch@d3tn.com>
11 lines
270 B
C
11 lines
270 B
C
// SPDX-License-Identifier: BSD-3-Clause OR Apache-2.0
|
|
#include "ud3tn/cmdline.h"
|
|
#include "ud3tn/init.h"
|
|
#include "ud3tn/result.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
init(argc, argv);
|
|
start_tasks(parse_cmdline(argc, argv));
|
|
return start_os() == UD3TN_OK ? 0 : 1;
|
|
}
|