Skip to content

Commit d4c1e14

Browse files
committed
Say block the CPU rather than pin the CPU
1 parent 3d1257e commit d4c1e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/physical-plan/src/execution_plan.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ pub trait ExecutionPlan: Debug + DisplayAs + Send + Sync {
261261
/// Thus, [`spawn`] is disallowed, and instead use [`SpawnedTask`].
262262
///
263263
/// To enable timely cancellation, the [`Stream`] that is returned must not
264-
/// pin the CPU and must yield back to the tokio runtime regularly.
264+
/// block the CPU and must yield back to the tokio runtime regularly.
265265
/// [`ExecutionPlan`] implementations should follow [the guideline of not
266266
/// spending a long time without reaching an `await`/yield point][async-guideline].
267267
/// This can be achieved by manually returning [`Poll::Pending`] in regular

0 commit comments

Comments
 (0)