summaryrefslogtreecommitdiff
path: root/tests/bench/loop_count-2-range_iter.py
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2025-09-25 16:28:38 +0200
committerDamien George <damien@micropython.org>2025-10-03 00:52:29 +1000
commitc57aebf790c40125b663231ec4307d2a3f3cf193 (patch)
tree77224fb0830b2d5ecd2c5dca90d6cb3986ad202e /tests/bench/loop_count-2-range_iter.py
parentc91e091ad72e3e15ca8981bd953f64714a5afb3e (diff)
py/scheduler: Allow selective handling in mp_handle_pending.
Extend mp_handle_pending to support three distinct behaviors via mp_handle_pending_internal(): - MP_HANDLE_PENDING_CALLBACKS_ONLY: process callbacks only - MP_HANDLE_PENDING_CALLBACKS_AND_EXCEPTIONS: callbacks + raise exceptions - MP_HANDLE_PENDING_CALLBACKS_AND_CLEAR_EXCEPTIONS: callbacks + clear only Original mp_handle_pending(bool) preserved as inline wrapper for backward compatibility. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Diffstat (limited to 'tests/bench/loop_count-2-range_iter.py')
0 files changed, 0 insertions, 0 deletions