int idx = tid_to_did(tid);  if (idx < 0) return NULL;  if (dinfo[idx].dl) return dlsym(dinfo[idx].dl, "async_event");
if (dinfo[typeid].dl) return dlsym(dinfo[typeid].dl, "async_event");
void *dl_event_fn(int tid){	int idx = tid_to_did(tid);	if (idx < 0)		return NULL;	if (dinfo[idx].dl)		return dlsym(dinfo[idx].dl, "async_event");	return NULL;}