/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
OsrsNeedsf2P
◴[
14 Oct 24 14:08 UTC
]
No.
41837682
[source]
▶
>>41837204 (OP)
#
I love how simple this is- Barely 100 lines or C++ (ignoring comments). That's one thing that makes me prefer X11 over Wayland.
replies(8):
>>41837906
#
>>41838181
#
>>41838339
#
>>41838393
#
>>41838489
#
>>41838500
#
>>41838693
#
>>41844644
#
asveikau
◴[
14 Oct 24 15:19 UTC
]
No.
41838339
[source]
▶
>>41837682
#
The code is a little weird. There is no XLib event loop. It calls sleep(100) in a loop until it hits SIGINT. That will have high cpu usage for no reason.
replies(3):
>>41838378
#
>>41844664
#
>>41848003
#
1.
EasyMark
◴[
15 Oct 24 03:36 UTC
]
No.
41844664
[source]
▶
>>41838339
#
This is a sleep which allows the kernel scheduler to move to a new process and not a busy-wait so it will have very very low processor usage.
ID:
GO
↑