std: Port SharedChan to newsched