channel_get
channel_get(type, direction == CTCM_READ ?
readc = channel_get(type, read_id, CTCM_READ);
writec = channel_get(type, write_id, CTCM_WRITE);