!7 cmodule SingleWordMechListsIndex { transient volatile MultiMap index; transient volatile bool couldNotLoad; start { thread { try { dm_useLocalMechListCopies(); index = indexMechLists(mechListsWithSingleWords()); } on fail { set couldNotLoad; } } } // API Map getIndex() { do { if (couldNotLoad) null; if (index != null) ret index.data; sleep(100); } while (licensed()); } }