summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/kvx/createthread.c
blob: 1b82c9190532ad3c73b92b93fbff7dbe893fd9f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * This file is subject to the terms and conditions of the LGPL V2.1
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 2019 Kalray Inc.
 */

/* Value passed to 'clone' for initialization of the thread register.  */
#define TLS_VALUE ((void *) (pd) \
		   + TLS_PRE_TCB_SIZE + TLS_INIT_TCB_SIZE)

/* Get the real implementation.	 */
#include <sysdeps/pthread/createthread.c>