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 how to do it.
Thank you in advance