mirror of https://github.com/deavmi/libsnooze
🐞️ Bugfix: Interruptible wait #5
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 15 hours 56 minutes
Due Date
deavmi
15 hours 56 minutes
Dependencies
No dependencies set.
Reference: deavmi/libsnooze#5
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What is this?
I want to be able to handle the case where the
select()
system call inside ofwait()
returns with-1
indicating an error but is due to a signal that has been received (we can detect this via theerrno()
function).Interruptible waitto 🐞️ Bugfix: Interruptible waitGoing to test this later, I will have to write some unit test that generates a signal to systematically test this.
Going to take this for a test in the birchwood IRC project and see how well it fares.
I did manually test it and it worked, I will write a unit test soon and see where else, if anywhere, I need to do this.
Todo
Honestly, almost done. Just working on cleaning it up - and I want to add testing for other things:
It is implemented, awaiting unittest-based testing
Timeout testing is already done ✅
Documentation is now done