doc: gl: merged poll and wait