createthread.c 442 B

1234567891011121314
  1. /*
  2. * This file is subject to the terms and conditions of the LGPL V2.1
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 2019 Kalray Inc.
  7. */
  8. /* Value passed to 'clone' for initialization of the thread register. */
  9. #define TLS_VALUE ((void *) (pd) \
  10. + TLS_PRE_TCB_SIZE + TLS_INIT_TCB_SIZE)
  11. /* Get the real implementation. */
  12. #include <sysdeps/pthread/createthread.c>