<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Not possible to use the multitasking feature of iOS 13.x"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=128502#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Not possible to use the multitasking feature of iOS 13.x"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=128502">bug 128502</a>
              from <span class="vcard"><a class="email" href="mailto:tml@iki.fi" title="Tor Lillqvist <tml@iki.fi>"> <span class="fn">Tor Lillqvist</span></a>
</span></b>
        <pre>And not only are there iOS-specific global variables that need to be done away
with in ios/ios.h:

<span class="quote">> extern int loolwsd_server_socket_fd;
> extern lok::Document *lok_document;
> extern LibreOfficeKit *lo_kit;</span >

but there are also global variables in the Online code, that in the web-based
case are not problematic as they are per-process, but in the mobile app case
the code that in web-based Online runs in a multitude of processes runs in a
single process. Especially the TerminationFlag and MobileTerminationFlag comes
to mind first. Getting the plumbing of the multi-process web-based Online to
work in a single-process has been quite tricky and fragile, partly exactly
because of these global variables.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>