Skip to content

[pull] develop from ossrs:develop#62

Merged
pull[bot] merged 1 commit into
timfengzi:developfrom
ossrs:develop
Sep 6, 2025
Merged

[pull] develop from ossrs:develop#62
pull[bot] merged 1 commit into
timfengzi:developfrom
ossrs:develop

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Sep 6, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

This PR introduces anonymous coroutine macros for easier coroutine
creation and improves the State Threads (ST) mutex and condition
variable handling in SRS.

- **Added coroutine macros**: `SRS_COROUTINE_GO`, `SRS_COROUTINE_GO2`,
`SRS_COROUTINE_GO_CTX`, `SRS_COROUTINE_GO_CTX2`
- **Added `SrsCoroutineChan`**: Channel for sharing data between
coroutines with coroutine-safe operations
- **Simplified coroutine creation**: Go-like syntax for creating
anonymous coroutines with code blocks

---------

Co-authored-by: Jacob Su <suzp1984@gmail.com>
Co-authored-by: OSSRS-AI <winlinam@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Sep 6, 2025
@pull pull Bot added the ⤵️ pull label Sep 6, 2025
@pull pull Bot merged commit 8976ce4 into timfengzi:develop Sep 6, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant