-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TransportImpl::sendNextFrameToMediaTxSocket schedules callback without checking for work #430
Comments
The relationship between scheduling work and registering callbacks is opaque to users. It's still a mystery to me how the two things are related. |
Also note that this appears to cause the udp implementation to come to a halt if there is not any additional work to be done. Specifically we are now stuck when entering
|
I'm also wondering if we need to actually schedule callbacks when we add them. It looks like we're gunking up the schedule because we always insert things to happen at
which begs the question, why "register callback"? Why not just:
? |
here we've successfully sent a frame. The next clause handles what to do next...
In this condition the transfer was accepted and so removed from the tx queue.
If we get here we are supposing there's more to transmit but we haven't checked. We could be scheduling more work without any work to do.
If we haven't gotten here (if the callback was still set) what does this mean? We haven't rescheduled anything so is this callback going to fester in the schedule?
The text was updated successfully, but these errors were encountered: