October 23rd, 2012, 02:37 AM
Non-Blocking read() in C
I am trying to read data from an SD card. But the library function of read() is in blocking mode (synchronous). I want to modify this function into non-blocking mode (asynchronous) as it is waste of time waiting for the read operation to complete and I have to do other tasks as well. Its in C.
Some ideas are to use threading or else. Can anybody give his/her thoughts.
Any tips and ideas on whats the best way to do it. Any material.
Thank you in advance.
October 23rd, 2012, 02:51 AM