mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 08:57: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
|
|
@ -17,7 +17,7 @@
|
|||
#define THREADS 10
|
||||
|
||||
|
||||
void
|
||||
void
|
||||
threadmain(void *_id)
|
||||
{
|
||||
int id = (int)_id;
|
||||
|
|
@ -43,14 +43,15 @@ int main(int argc, char **argv)
|
|||
|
||||
for (index=0; index<THREADS; index++) {
|
||||
a[index] = PR_CreateThread(PR_USER_THREAD,
|
||||
threadmain,
|
||||
(void *)index,
|
||||
PR_PRIORITY_NORMAL,
|
||||
index%2?PR_LOCAL_THREAD:PR_GLOBAL_THREAD,
|
||||
PR_JOINABLE_THREAD,
|
||||
0);
|
||||
threadmain,
|
||||
(void *)index,
|
||||
PR_PRIORITY_NORMAL,
|
||||
index%2?PR_LOCAL_THREAD:PR_GLOBAL_THREAD,
|
||||
PR_JOINABLE_THREAD,
|
||||
0);
|
||||
}
|
||||
for(index=0; index<THREADS; index++)
|
||||
for(index=0; index<THREADS; index++) {
|
||||
PR_JoinThread(a[index]);
|
||||
}
|
||||
printf("main dying\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue