mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #1352] [MERGED] Cleanup internal callback APIs #1790
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1790
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/1352
Author: @p12tic
Created: 11/1/2021
Status: ✅ Merged
Merged: 11/1/2021
Merged by: @p12tic
Base:
master← Head:cleanup-callbacks📝 Commits (6)
666460alib/platform: Use std::function instead of IJob in MSWindowsDesks815e80elib: Remove unused threading functionality related to thread results9cf590clib: Make ThreadFunc return nothing5335669lib/arch: Pass jobs to Arch threads as std::functiond2c106dlib: Pass jobs to barrier::Thread as std::functiond7de571lib/net: Simplify handling of socket multiplexer jobs📊 Changes
50 files changed (+159 additions, -531 deletions)
View changed files
📝
src/lib/arch/IArchMultithread.h(+3 -11)📝
src/lib/arch/unix/ArchMultithreadPosix.cpp(+5 -24)📝
src/lib/arch/unix/ArchMultithreadPosix.h(+1 -2)📝
src/lib/arch/win32/ArchMultithreadWindows.cpp(+4 -25)📝
src/lib/arch/win32/ArchMultithreadWindows.h(+1 -2)📝
src/lib/arch/win32/ArchTaskBarWindows.cpp(+1 -8)📝
src/lib/arch/win32/ArchTaskBarWindows.h(+0 -1)📝
src/lib/barrier/App.cpp(+1 -3)📝
src/lib/barrier/App.h(+1 -1)📝
src/lib/barrier/ClientApp.cpp(+1 -5)📝
src/lib/barrier/ClientApp.h(+0 -1)📝
src/lib/barrier/ServerApp.cpp(+1 -5)📝
src/lib/barrier/StreamChunker.cpp(+2 -3)📝
src/lib/barrier/StreamChunker.h(+1 -4)📝
src/lib/barrier/win32/DaemonApp.cpp(+0 -1)➖
src/lib/base/FunctionJob.cpp(+0 -43)➖
src/lib/base/FunctionJob.h(+0 -39)➖
src/lib/base/TMethodJob.h(+0 -68)📝
src/lib/base/log_outputters.cpp(+0 -1)📝
src/lib/client/Client.cpp(+5 -14)...and 30 more files
📄 Description
This PR cleans up a number of internal APIs that accept callbacks. We use the standard
std::functioninstead of home-grown classes.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.