Skip to content

Prototype changes to use semaphore signalling for Unix#126

Open
karlmcdowall wants to merge 1 commit into
Detegr:masterfrom
karlmcdowall:semaphore_impl
Open

Prototype changes to use semaphore signalling for Unix#126
karlmcdowall wants to merge 1 commit into
Detegr:masterfrom
karlmcdowall:semaphore_impl

Conversation

@karlmcdowall

@karlmcdowall karlmcdowall commented Jan 15, 2025

Copy link
Copy Markdown

PLEASE DON'T MERGE!
Code is very much in the quick-prototype phase and very much not ready to be merged. Code is posted to demonstrate that the CTRL-C logic can be implemented using an unnamed POSIX semaphore to signal between signal-handler and blocking thread on unix rather than a pipe.
I've started a thread with the background on this here.

Very much in the quick-prototype phase. Demonstrate that
the CTRL-C logic can be alternatively implemented using a
unnamed POSIX semaphore to signal between signal-handler and blocking
thread.
@polarathene

polarathene commented Jun 11, 2026

Copy link
Copy Markdown

FWIW I think this can be closed? July 2025 PR that implemented similar was merged (Sep 2025):

That switch to semaphore usage with the 3.5.0 release however broke some other platform support.


I've started a thread with the background on this here.

I think you meant to link to your issue here: #125

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.

2 participants