mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 23:31:50 +08:00
The following are the differences from the first version: 1. The kernel does not copy the stack for the new thread (it cannot). The previous version missed this fact. In this new version, the new thread's start args are copied on to the new stack in a known location so that the new thread can sniff them out. 2. A start args sniffer for x86_64 has been added. 2. Default stack size has been increased to 64KB. Reviewers: abrachet, phosek Differential Revision: https://reviews.llvm.org/D75818
19 lines
543 B
Modula-2
19 lines
543 B
Modula-2
//===---------------- C standard library header threads.h -----------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBC_THREADS_H
|
|
#define LLVM_LIBC_THREADS_H
|
|
|
|
#include <__llvm-libc-common.h>
|
|
|
|
%%include_file(${platform_threads})
|
|
|
|
%%public_api()
|
|
|
|
#endif // LLVM_LIBC_THREADS_H
|