Skip to content

use mutex for ipc ownership - #387

Open
Shazbot wants to merge 1 commit into
donkeyProgramming:masterfrom
Shazbot:master
Open

use mutex for ipc ownership#387
Shazbot wants to merge 1 commit into
donkeyProgramming:masterfrom
Shazbot:master

Conversation

@Shazbot

@Shazbot Shazbot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor
  • Start the IPC server automatically without requiring the Start_IPC argument.
  • Use a per-session named mutex so only one AssetEditor instance hosts the fixed IPC pipe.
  • Keep additional instances waiting efficiently until the current owner exits.
  • Automatically take over IPC ownership when the owner closes or crashes.
  • Use a dedicated background thread because Windows mutexes must be released by the acquiring thread.
  • Improve cancellation, shutdown, pipe cleanup, and retry handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant