mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 01:17:34 +09:00
update NSPR to 4.24 and keep NSPR Bug 1586070 and win64 patch intact.
This commit is contained in:
parent
dd094ae552
commit
0b9855b841
487 changed files with 42933 additions and 48679 deletions
|
|
@ -65,7 +65,7 @@ int main(int argc, char **argv)
|
|||
char buf[1024];
|
||||
|
||||
serverThreads = (PRThread **)
|
||||
PR_Malloc(num_server_threads * sizeof(PRThread *));
|
||||
PR_Malloc(num_server_threads * sizeof(PRThread *));
|
||||
if (NULL == serverThreads) {
|
||||
fprintf(stderr, "PR_Malloc failed\n");
|
||||
exit(1);
|
||||
|
|
@ -132,8 +132,8 @@ int main(int argc, char **argv)
|
|||
printf("creating dummy thread\n");
|
||||
fflush(stdout);
|
||||
dummyThread = PR_CreateThread(PR_USER_THREAD,
|
||||
ServerThreadFunc, dummySock, PR_PRIORITY_NORMAL,
|
||||
thread_scope, PR_JOINABLE_THREAD, 0);
|
||||
ServerThreadFunc, dummySock, PR_PRIORITY_NORMAL,
|
||||
thread_scope, PR_JOINABLE_THREAD, 0);
|
||||
if (NULL == dummyThread) {
|
||||
fprintf(stderr, "PR_CreateThread failed\n");
|
||||
exit(1);
|
||||
|
|
@ -143,8 +143,8 @@ int main(int argc, char **argv)
|
|||
PR_Sleep(PR_SecondsToInterval(1));
|
||||
for (idx = 0; idx < num_server_threads; idx++) {
|
||||
serverThreads[idx] = PR_CreateThread(PR_USER_THREAD,
|
||||
ServerThreadFunc, listenSock, PR_PRIORITY_NORMAL,
|
||||
thread_scope, PR_JOINABLE_THREAD, 0);
|
||||
ServerThreadFunc, listenSock, PR_PRIORITY_NORMAL,
|
||||
thread_scope, PR_JOINABLE_THREAD, 0);
|
||||
if (NULL == serverThreads[idx]) {
|
||||
fprintf(stderr, "PR_CreateThread failed\n");
|
||||
exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue