• Simulate high frequency interrupts scenario and use counting semaphores
to avoid lost events between ISR and sync.task
• Hint: To simulate high frequency interrupts, each time an interrupt
has arrived, perform multiple semaphore posts (gives) in the ISR.
• Expected output: You should see multiple prints from the sync.
Task demonstrating that we have received multiple sem posts.
0 件のコメント:
コメントを投稿