diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-17 20:13:01 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-17 20:13:01 +0100 |
| commit | 53dd42da082c3c290eca1891aa05e3bb63de007d (patch) | |
| tree | 8cedf40b7326acd73f29742bd51fc7acaae6778c | |
| parent | 3606b7c2ad086d415fdc2ecbe3c33c2e37759da2 (diff) | |
[FEAT] Threading in the GenericsLibrary.nectar-gl-threading
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | include/GenericsLibrary/thread.nhh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/GenericsLibrary/thread.nhh b/include/GenericsLibrary/thread.nhh new file mode 100644 index 0000000..f60d110 --- /dev/null +++ b/include/GenericsLibrary/thread.nhh @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (See accompanying +// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0) +// Official repository: https://github.com/ne-foss-org/nectar + +#ifndef NECTAR_GL_THREAD_NHH +#define NECTAR_GL_THREAD_NHH + +trait thread_traits +{ + let join(); + let detach(); + let get(); +} + +let create_thread(let entrypoint, let id); +let exit_thread(let id); + +let get_status_thread(let id); + +#endif
\ No newline at end of file |
