jitsi-videobridge icon indicating copy to clipboard operation
jitsi-videobridge copied to clipboard

WIP: Use usrsctp only from dedicated single thread.

Open mstyura opened this issue 4 years ago • 2 comments

This PR moves calling usrsctp API into dedicated single thread to reduce chances of multi-threading issues. When usrsctp is itself updated to the version which has support of disabling internal SCTP Timer thread then usrsctp will not be used concurrently at all.

mstyura avatar May 16 '20 17:05 mstyura

Did you run into an issue with the SCTP threading that prompted this?

bbaldino avatar May 18 '20 04:05 bbaldino

@bbaldino ah, sorry, I've missed your comment. What I was trying to fix is to move usrsctp usage into a single thread to avoid multi threading bugs in usrsctp. This PR served as proof of concept, maybe later I'll make it acceptable to a master.

mstyura avatar Jun 18 '20 12:06 mstyura