WrapEarnPass left a comment (geany/geany#4620)
I added a call in the bowels of geany editor.c to invoke SET_LAYOUTTHREADS just
to see..
```
SSM(sci, SCI_AUTOCSETSEPARATOR, '\n', 0);
SSM(sci, SCI_SETSCROLLWIDTHTRACKING, 1, 0);
SSM(sci, SCI_SETLAYOUTTHREADS, (uptr_t) 8, 0);
/* tag autocompletion images */
for (i = 0; i < TM_N_ICONS; i++)
```
EditView sees the change, but still runs singlethread to defer.
```
maxLayoutThreads:8
threads:1
policy:std::launch::deferred
LayoutLine /home/build/Projects/geany/geany/scintilla/src/EditView.cxx:524
```
With the rest of the configuration of geany and its import of scintilla, geany
cannot use layoutthreads in any case. Maybe geany can bypass this issue for
future builds by unthreading that specific section of scintilla.
Now, I am still going to try to track down why futures crash immediately on
windows, and why geany doesn't hit the other one. ( I counted 2 in the version
of scintilla geany uses)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4620#issuecomment-5028660242
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/4620/[email protected]>