Skip to content

Tag: c++

DMA Engine Timeout and DMA Memory Mapping

I am trying to use a Linux DMA driver. Currently, when I send the transaction out and begin waiting, my request times out. I believe this has to do with the way I am setting up my buffers when I am performing DMA Mapping. In Xilinx’s DMA driver, they take special care to look at memory alignment. In par…

One way communication over TCP Socket [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 years ago. Improve this question I am trying to send some data to a remote Raspberry Pi over TCP socket from a GUI that I des…

Is it necessary to flush a QTextStream before closing a QFile?

I need to log some text messages to a file with following requirements : Each text messages is written in a new line at the end of the file. Be reasonably sure that each message was correctly written to the file. So far, the function is using QTextStream and QFile: Point 1 is satisfied but i have doubts about…