Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 3 months ago.
Are all interrupts disabled in blocking mode of socket?
The tittle pretty much sums the question up. I am wondering how the blocking mode actually works. Does it disable all interrupts like timer, GPIO etc? I hope it does not mean that.
I went into socket.cpp and didn't find much about this. So please somebody with the knowledge lend me a hand.
Thanks. ZL
Question relating to:
1 Answer
9 years, 3 months ago.
Hi ZL,
In socket operation, I would not expect this to disable interrupts.
It is related to whether your calling function is "blocked" until the transaction is completed, or if your application will resume even as the transfer continues in the background.
google - socket blocking vs nonblocking offers many pages with more detail.