Skip to content

Add Comm::wait_for to Python bindings

I recently started to play with the simgrid Python bindings and noticed that Comm::wait_for was not present. It's unfortunate because it's often needed to express more complex systems.

This MR adds the missing binding. There are other synchronisation primitives missing (Comm::wait_any_for, Comm::wait_all_for, etc.) and I'd be happy to followup with another MR. Starting simple since there's perhaps a reason why these were not included in the first place.

Let me know if you'd like examples / tests added somewhere.

Merge request reports