mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-31 15:00:28 +00:00
Improve posix_spawn() some more
This commit is contained in:
parent
6430e474b4
commit
00084577a3
18 changed files with 301 additions and 293 deletions
8
third_party/gdtoa/misc.c
vendored
8
third_party/gdtoa/misc.c
vendored
|
@ -44,16 +44,12 @@ static pthread_mutex_t __gdtoa_lock1_obj;
|
|||
static void
|
||||
__gdtoa_lock(void)
|
||||
{
|
||||
if (!__threaded)
|
||||
return;
|
||||
pthread_mutex_lock(&__gdtoa_lock_obj);
|
||||
}
|
||||
|
||||
static void
|
||||
__gdtoa_unlock(void)
|
||||
{
|
||||
if (!__threaded)
|
||||
return;
|
||||
pthread_mutex_unlock(&__gdtoa_lock_obj);
|
||||
}
|
||||
|
||||
|
@ -66,16 +62,12 @@ __gdtoa_initlock(void)
|
|||
static void
|
||||
__gdtoa_lock1(void)
|
||||
{
|
||||
if (!__threaded)
|
||||
return;
|
||||
pthread_mutex_lock(&__gdtoa_lock1_obj);
|
||||
}
|
||||
|
||||
static void
|
||||
__gdtoa_unlock1(void)
|
||||
{
|
||||
if (!__threaded)
|
||||
return;
|
||||
pthread_mutex_unlock(&__gdtoa_lock1_obj);
|
||||
}
|
||||
|
||||
|
|
2
third_party/mbedtls/test/lib.c
vendored
2
third_party/mbedtls/test/lib.c
vendored
|
@ -79,7 +79,7 @@ struct Buffer {
|
|||
|
||||
char *output;
|
||||
jmp_buf jmp_tmp;
|
||||
int option_verbose = 1;
|
||||
int option_verbose;
|
||||
mbedtls_test_info_t mbedtls_test_info;
|
||||
static char tmpdir[PATH_MAX];
|
||||
static char third_party[PATH_MAX];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue