gerickson / gerickson/opencflite

Occasionally `CFRunLoopStop` Does Not Stop the Run Loop on Linux

Open
#26 2 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
C
Stars
25
Forks
2
PR merge metrics
No merged PRs in 30d

Description

When hitting control-C (generating SIGINT) and then issuing `CFRunLoopStop` in the signal handler, the run loop frequently does not stop on Linux. This is contrast to macOS 10.15.7 in which it stops 100% of the time, as expected.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the SIGINT and CFRunLoopStop behavior on Linux, then compare it with the stated macOS 10.15.7 behavior. Trace the run-loop stop path and signal-handler interaction; done means the Linux run loop reliably stops after control-C without regressing the macOS behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.