[libc] Take 2: Add linux implementations of thrd_create and thrd_join functions.
[lldb.git] / libc / config / linux / threads.h.in
1 //===--------- Linux specific definitions of types from threads.h ---------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 %%begin()
10
11 typedef struct {
12   unsigned char __clear_tid[4];
13   int __tid;
14   void *__stack;
15   int __stack_size;
16   int __retval;
17 } thrd_t;