You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[core] Cleanup SRT state after a fork() (issue #3177) (#3179)
* [core] Cleanup SRT state after a fork() (issue #3177)
* Free socket memory without calling the destructor.
* Remove srt_cleanupAtFork() from the API.
* Make it compile on systems that don't support pthread_atfork()
* Remove a typo
* Avoid to send shutdown packet when cleaning up after a fork.
* Close the dangling UDP sockets, Free memory.
* Add TODO for freeing the Send Queue after refacttoring it.
* Ensure that CThread is joinable before join()
* Try fix iOS-cxxsyncOFF
* Replace the mutex pointer by a mutex reference.
* Refactor the Multiplexer initialization.
* Fix SIGSEGV
* Fix Compilation error on a Debug Log
* Rollback to cleaner code for the multiplexer initialization.
* Add compatibility with C++11 Sync.
* Apply code review changes
* Replace the resetThread() macro by an inline function.
Co-authored-by: Sektor van Skijlen <ethouris@gmail.com>
* Reset m_CGStopCond in CUDTUnited
* Rework of resetThread()
* Ensure Garbage collector is in the right state after fork.
* Protect ~CMultiplexer() against NULL pointers.
* Protect resetAtFork() and stop() against NULL pointers.
* Added fork example to the repository
* Remove french comments.
---------
Co-authored-by: Clément Gérouville <cgerouville@haivision.com>
Co-authored-by: Sektor van Skijlen <ethouris@gmail.com>
Co-authored-by: Mikolaj Malecki <mmalecki@haivision.com>
0 commit comments