logoalt Hacker News

aleph_minus_oneyesterday at 3:37 PM2 repliesview on HN

> File descriptor, handle. Potayto, potahto.

Under Windows, a lot more concepts are handles than just files, directories, symbolic links, pipes, mail slots, ..., e.g.

- processes, threads

- synchronization objects (mutex, semaphore)

- events (CreateEventEx)

- I/O Completion Ports

- Sections (ZwCreateSection) and Partitions (https://www.geoffchappell.com/studies/windows/km/ntoskrnl/ap... ) for memory

- waitable timers

- GUI components (HWND)


Replies

MisterTeayesterday at 4:08 PM

I should have mentioned that I am speaking from a Plan 9 point of view where some of the common mechanisms are provided via the kernel file servers such as /proc.

remexreyesterday at 6:56 PM

pidfd, eventfd, AF_NETLINK, epoll, memfd, timerfd?