Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is usrsctp_conninput threadsafe? #646

Closed
Aderinom opened this issue Jan 13, 2022 · 2 comments
Closed

Is usrsctp_conninput threadsafe? #646

Aderinom opened this issue Jan 13, 2022 · 2 comments

Comments

@Aderinom
Copy link

I'd like to use the non threaded implementation of Usrsctp.
For this usrsctp_conninput will be called which brings up the question of thread safety here.
Can this be done concurrently without an external lock?

Btw. Would It be possible to activate the Discussion tab for this Repo?

@tuexen
Copy link
Member

tuexen commented Jan 13, 2022

usrsctp does its locking... So it should be OK to use it. See the examples, which use multiple threads.

I enabled discussions....

@Aderinom
Copy link
Author

Thank you once again tuexen!

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

No branches or pull requests

2 participants