Skip to content

Commit

Permalink
Releases the notifiable of the first buffer faster.
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsracz committed Jul 14, 2024
1 parent 83f3507 commit 658a002
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/openlcb/BLEHubPort.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ public:
if (notRunning_)
{
notRunning_ = 0;
// When we have exactly one buffer at hand, we release the done
// notify of it to allow the upstream stack to generate more
// data quicker.
b->set_done(nullptr);
}
else
{
Expand Down

0 comments on commit 658a002

Please sign in to comment.