/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Show HN: X11 tool to share a screen area in any video meeting
(github.com)
345 points
splitbrain
| 1 comments |
14 Oct 24 13:11 UTC
|
HN request time: 0.201s
|
source
Show context
yazzku
◴[
14 Oct 24 17:04 UTC
]
No.
41839476
[source]
▶
>>41837204 (OP)
#
Can you not use std::condition_variable to avoid the active waiting of the signal?
replies(2):
>>41840920
#
>>41842565
#
1.
listeria
◴[
14 Oct 24 22:07 UTC
]
No.
41842565
[source]
▶
>>41839476
#
I don't know if std::condition_variable is async-signal safe, but an easy fix is to replace the sleeping with pause(2). There's also sigwait(3), which wouldn't need a signal handler.
ID:
GO
↑