[PR #3476] [MERGED] Epoll #3497

Closed
opened 2026-02-27 22:03:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3476
Author: @mikusp
Created: 8/29/2025
Status: Merged
Merged: 9/18/2025
Merged by: @georgemoralis

Base: mainHead: epoll


📝 Commits (8)

📊 Changes

10 files changed (+473 additions, -43 deletions)

View changed files

📝 .gitmodules (+5 -0)
📝 CMakeLists.txt (+3 -1)
📝 externals/CMakeLists.txt (+5 -0)
externals/ext-wepoll (+1 -0)
📝 src/core/libraries/network/net.cpp (+165 -13)
📝 src/core/libraries/network/net.h (+84 -8)
src/core/libraries/network/net_epoll.cpp (+72 -0)
src/core/libraries/network/net_epoll.h (+83 -0)
📝 src/core/libraries/network/posix_sockets.cpp (+3 -7)
📝 src/core/libraries/network/sys_net.cpp (+52 -14)

📄 Description

Initial net epoll implementations. Windows support waiting for @georgemoralis to fix a submodule lib

Things that are not used by anything in my library I've left as unreachables, if you hit those let me know. While testing please set connectedToNetwork to true in your config and enable Debug logs (ideally for everything, but at least for Lib.Net)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3476 **Author:** [@mikusp](https://github.com/mikusp) **Created:** 8/29/2025 **Status:** ✅ Merged **Merged:** 9/18/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `epoll` --- ### 📝 Commits (8) - [`4ea13dc`](https://github.com/shadps4-emu/shadPS4/commit/4ea13dc7ab4e0a4edfc9f4d19774f591fa242fb3) Epoll - [`e5b082f`](https://github.com/shadps4-emu/shadPS4/commit/e5b082fc3e347cccbcc9aa54f4214bbfe763c24a) Change companion util stub to return NO_EVENT - [`c5119df`](https://github.com/shadps4-emu/shadPS4/commit/c5119dfa045781dae784d617d2847ee9f8bbf30e) Revert "Change companion util stub to return NO_EVENT" - [`de98900`](https://github.com/shadps4-emu/shadPS4/commit/de989002507a22633d2a3577eb1b135b32aea1e3) added wepoll - [`130def9`](https://github.com/shadps4-emu/shadPS4/commit/130def991e3f760f03858b51c8c058c00943fd1c) shallow.. - [`ff1d690`](https://github.com/shadps4-emu/shadPS4/commit/ff1d6902b51b1bf0ee036993158ee953602923f8) dist branch - [`d7dd1e3`](https://github.com/shadps4-emu/shadPS4/commit/d7dd1e3361c2a31f3079b0c289b0462fd3361b78) updated wepoll - [`7949a87`](https://github.com/shadps4-emu/shadPS4/commit/7949a8720c15ee66c6cce8a6a52efd7bef402688) compiles on windows ### 📊 Changes **10 files changed** (+473 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `.gitmodules` (+5 -0) 📝 `CMakeLists.txt` (+3 -1) 📝 `externals/CMakeLists.txt` (+5 -0) ➕ `externals/ext-wepoll` (+1 -0) 📝 `src/core/libraries/network/net.cpp` (+165 -13) 📝 `src/core/libraries/network/net.h` (+84 -8) ➕ `src/core/libraries/network/net_epoll.cpp` (+72 -0) ➕ `src/core/libraries/network/net_epoll.h` (+83 -0) 📝 `src/core/libraries/network/posix_sockets.cpp` (+3 -7) 📝 `src/core/libraries/network/sys_net.cpp` (+52 -14) </details> ### 📄 Description Initial net epoll implementations. Windows support waiting for @georgemoralis to fix a submodule lib Things that are not used by anything in my library I've left as unreachables, if you hit those let me know. While testing please set connectedToNetwork to true in your config and enable Debug logs (ideally for everything, but at least for Lib.Net) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3497
No description provided.