this post was submitted on 03 May 2024
377 points (92.9% liked)

linuxmemes

20762 readers
1861 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

Alt text: meme with the 'Always has been' format Linux, MacOS, OpenBSD and ChromeOS logos on top of the Earth The first astronaut says 'Wait, it's all Unix?' A Windows logo, on top of the second astronaut. The second astronaut says 'Always has been' and points a gun to the first astronaut.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 4 months ago* (last edited 4 months ago)

More like file descriptor. File path is like address system, but it's not how you get all file descriptors. For example: sockets (there is bash's fake /dev/{tcp,udp}), epoll, timer, event, inotify.

In UNIX systems event systems have a list of filedescriptors with a callback for each. You could have your event loop an epoll fd itself and nest it in another.