You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Phase 2 of Fixing Worker To Handle Asynchronous Return of Pajara For Preflightling Safari Bookmarks Hash. This tests OK with my usual "change in bookmark in Chrome", so I think I have not broken anything yet.
• In the worker1() function, all of the two dozen or so goto have been removed, and it has been renamed to workerSetup().
• The old clean-up code after the run loop has been moved into new function workerEnd1()
• The code between the first old goto label `end` and the second goto label `endNow` has been moved into new function workerEnd2()
• The code after the second old goto label `endNow` has been moved into new function workerEnd3()
All of the local variables in the outer scope of the old main() are now global variables, as are three new BOOLs shouldSkipEnd1, shouldSkipEnd2 and shouldSkipEnd3 which provide the skips formerly provided by the gotos.
The run loop will exit immediately if workerSetup took any of its early returns. Next, I think I need to get the run loop running earlier.
0 commit comments