Skip to content
Commit ed7ad31a authored by Christopher James Halse Rogers's avatar Christopher James Halse Rogers Committed by Daniel Stone
Browse files

eventloop: clarify post_dispatch_check()



This *technically* changes the semantics of the return value of the source callbacks.
Previously you could return a negative number from a source callback and it would prevent
*other* source callbacks from triggering a subsequent recheck.

Doing that seems like such a bad idea it's not worth supporting.

v2: Log this case if it is hit, so we don't silently change behaviour.

Signed-off-by: default avatarChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
parent 698dde19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment