static O ai_withMaker(S maker, O f) { //lock aiLock(); S prev = ai_setMaker(maker); try { ret callF(f); } finally { ai_setMaker(prev); } }