mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 19:09:25 +01:00
34 lines
451 B
C
34 lines
451 B
C
|
#pragma once
|
||
|
#include <wut.h>
|
||
|
|
||
|
/**
|
||
|
* \defgroup dmae_sync Synchronization
|
||
|
* \ingroup dmae
|
||
|
* @{
|
||
|
*/
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
//! Timestamp for a DMAE operation.
|
||
|
typedef uint64_t DMAETimeStamp;
|
||
|
|
||
|
/**
|
||
|
* Waits for a DMAE operation to complete.
|
||
|
*
|
||
|
* \param timestamp
|
||
|
* Timestamp of the operation to wait for.
|
||
|
*
|
||
|
* \return
|
||
|
* TRUE when successful.
|
||
|
*/
|
||
|
BOOL
|
||
|
DMAEWaitDone(DMAETimeStamp timestamp);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
/** @} */
|