[issue33590] sched.enter priority has no impact on execution

2018-05-21 Thread sahilmn
sahilmn <sahilmanocha1...@gmail.com> added the comment: The task schedule is executed when `s.run()` is called. There should be a *delay = 5* from the time the scheduling statement is executed. If your claim is true, the priority argument is useless since it has no impact on the exe

[issue33590] sched.enter priority has no impact on execution

2018-05-20 Thread sahilmn
New submission from sahilmn <sahilmanocha1...@gmail.com>: `sched.enter` doesn't work as expected. If two events are scheduled with the same delay, then their order of execution seems to be dictated by the order of `enter` statements for the events instead of the priority order. Ref at