static L beforeDelegatingToThread_operations = synchroList(); static void beforeDelegatingToThread(Thread t) { for (O op : cloneList(beforeDelegatingToThread_operations)) pcallF(op, t); } static void beforeDelegatingToThread_do(O f) { setAdd(beforeDelegatingToThread_operations, f); }