mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 19:28:29 +00:00
Remove __threaded variable
This commit is contained in:
parent
01b09bc817
commit
cf1559c448
15 changed files with 51 additions and 71 deletions
|
@ -129,6 +129,7 @@ int linkat(int, const char *, int, const char *, int) libcesque __read_only(2) _
|
|||
int mincore(void *, size_t, unsigned char *) libcesque __read_only(1) __write_only(3);
|
||||
int mkdir(const char *, unsigned) libcesque __read_only(1);
|
||||
int mkdirat(int, const char *, unsigned) libcesque __read_only(2);
|
||||
int mkfifo(const char *, unsigned);
|
||||
int mknod(const char *, unsigned, uint64_t) libcesque __read_only(1);
|
||||
int nice(int) libcesque;
|
||||
int open(const char *, int, ...) libcesque __read_only(1);
|
||||
|
|
|
@ -169,8 +169,7 @@
|
|||
* turn APE binaries into static native binaries.
|
||||
*
|
||||
* - "prot_exec" allows mmap(PROT_EXEC) and mprotect(PROT_EXEC). This is
|
||||
* needed to (1) code morph mutexes in __enable_threads(), and it's
|
||||
* needed to (2) launch non-static or non-native executables, e.g.
|
||||
* needed to launch non-static or non-native executables, e.g.
|
||||
* non-assimilated APE binaries, or dynamic-linked executables.
|
||||
*
|
||||
* - "unveil" allows unveil() to be called, as well as the underlying
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
* special; the kernel treats this as a thread id (noting that
|
||||
* `getpid() == gettid()` is always the case on Linux for the main
|
||||
* thread) and will only take effect for the specified tid.
|
||||
* Therefore this function is POSIX-compliant iif `!__threaded`.
|
||||
* @return scheduler policy, or -1 w/ errno
|
||||
* @error ESRCH if `pid` not found
|
||||
* @error EPERM if not permitted
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
* special; the kernel treats this as a thread id (noting that
|
||||
* `getpid() == gettid()` is always the case on Linux for the main
|
||||
* thread) and will only take effect for the specified tid.
|
||||
* Therefore this function is POSIX-compliant iif `!__threaded`.
|
||||
*
|
||||
* @param policy specifies the kernel's timesharing strategy.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue