Simultaneous Write and Read?
(Im programming in C)
I have a card in my computer which takes readings.
The card has Direct Memory Access and it has 2 chucks of onboard memory.
When you take readings they read into the onboard memory. However I need to take more readings than fit into the onboard memory.
(Here's the question)
Is it possible to read data into one buffer while writing data to the harddrive from the other buffer?
I can't figure out if this is possible because I cant make my C program do 2 things at once as far as I know.
Re: Simultaneous Write and Read?
First, read the specs for your device.
Second, multiple operations don't have to be simultaneous if you can do them fast enough sequentially. Interleaving. Learn about multiple processes and multiple threads on systems with single and multiple processors and cores.
These things are not a feature of the C language. They have to be supported by the implementation and implementation-specific extensions.
|All times are GMT +5.5. The time now is 03:54.|