src/java.base/macosx/native/libjli/java_md_macosx.c
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File jdk Cdiff src/java.base/macosx/native/libjli/java_md_macosx.c

src/java.base/macosx/native/libjli/java_md_macosx.c

Print this page
rev 11654 : imported patch libjli

*** 850,860 **** } if (pthread_create(&tid, &attr, (void *(*)(void*))continuation, (void*)args) == 0) { void * tmp; pthread_join(tid, &tmp); ! rslt = (int)tmp; } else { /* * Continue execution in current thread if for some reason (e.g. out of * memory/LWP) a new thread can't be created. This will likely fail * later in continuation as JNI_CreateJavaVM needs to create quite a --- 850,860 ---- } if (pthread_create(&tid, &attr, (void *(*)(void*))continuation, (void*)args) == 0) { void * tmp; pthread_join(tid, &tmp); ! rslt = (int)(intptr_t)tmp; } else { /* * Continue execution in current thread if for some reason (e.g. out of * memory/LWP) a new thread can't be created. This will likely fail * later in continuation as JNI_CreateJavaVM needs to create quite a
src/java.base/macosx/native/libjli/java_md_macosx.c
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File