diff options
| author | pepper <3782201+rohvani@users.noreply.github.com> | 2026-09-21 17:44:02 -0400 |
|---|---|---|
| committer | pepper <3782201+rohvani@users.noreply.github.com> | 2026-09-21 17:44:02 -0400 |
| commit | d06964f46025e135b74b3dd1e6c144c364bf6d1b (patch) | |
| tree | aae1bfdf8f6e6ef3f8f4adcd96c927ac8760da06 /indra/llplugin/llpluginprocessparent.cpp | |
| parent | cc5d3dd3cd653971fff16cf2bc1d380edd5ea7f2 (diff) | |
| parent | 0a60806f8973c05b68cf65a5a01c41d81ff2da7b (diff) | |
Merge release/26.5 into project/chat-modernization
Preserve the history reader's page position while incorporating the focused page-selector refresh fix.
Diffstat (limited to 'indra/llplugin/llpluginprocessparent.cpp')
| -rw-r--r-- | indra/llplugin/llpluginprocessparent.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp index 4f55d75e7d..2029497790 100644 --- a/indra/llplugin/llpluginprocessparent.cpp +++ b/indra/llplugin/llpluginprocessparent.cpp @@ -508,6 +508,16 @@ void LLPluginProcessParent::idle(void) else if (!mProcess && !mProcessCreationRequested) { mProcessCreationRequested = true; +#if LL_DARWIN + // On darwin process should be created from main thread, otherwise it can + // cause a fork-lock deadlock. Relevant to both, boost and apr. + // Alternatively can remake process creation to use posix_spawn + if (!(mProcess = LLProcess::create(mProcessParams))) + { + mProcessCreationRequested = false; + errorState(); + } +#else LL::WorkQueue::ptr_t main_queue = LL::WorkQueue::getInstance("mainloop"); // *NOTE: main_queue->postTo casts this refcounted smart pointer to a weak // pointer @@ -558,6 +568,7 @@ void LLPluginProcessParent::idle(void) errorState(); } } +#endif } if (mProcess) |
