next up previous contents
Next: DAGDA asynchronous put macros/functions Up: The DAGDA API Previous: DAGDA get data macros/functions   Contents

Asynchronous data transfers

With DAGDA, there are two ways to manage the asynchronous data transfers, depending of the data usage: With asynchronous transfers, the user should take care of the data lifetime because DAGDA does not duplicate the data pointed by the passed pointer. For example, if the program uses a local variable reference to add a data to the DAGDA hierarchy and goes out of the variable scope, a crash could occured because the data pointer could be freed by the system before DAGDA has finished to read it.

Subsections
next up previous contents
Next: DAGDA asynchronous put macros/functions Up: The DAGDA API Previous: DAGDA get data macros/functions   Contents
The DIET Team - Ven 18 nov 2011 18:13:39 PST