Skip to content

improve tu fifo#661

Merged
hathach merged 1 commit into
masterfrom
improve-fifo
Feb 19, 2021
Merged

improve tu fifo#661
hathach merged 1 commit into
masterfrom
improve-fifo

Conversation

@hathach
Copy link
Copy Markdown
Owner

@hathach hathach commented Feb 19, 2021

Describe the PR
Enhance fifo to prevent future issue that need fixes such as #536 #655 which is very easy to overlook.

  • Add TU_FIFO_INIT() to help with tu_fifo declaration
  • tu_fifo_clear() also reset max_pointer_idx and non_used_index_space

tu_fifo_clear() also reset max_pointer_idx and non_used_index_space
@hathach hathach merged commit 9067926 into master Feb 19, 2021
@hathach hathach deleted the improve-fifo branch February 19, 2021 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant