
October 23rd, 2012, 02:37 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 1
Time spent in forums: 10 m 30 sec
Reputation Power: 0
|
|
|
Non-Blocking read() in C
Hello everybody,
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.
|