* @param arg
* Argument to the called function.
* @return
- * 0 on success, netagive error code on failure.
+ * 0 on success, negative error code on failure.
*/
int eal_intr_thread_schedule(void (*func)(void *arg), void *arg);
+/**
+ * Request interrupt thread to stop and wait its termination.
+ */
+void eal_intr_thread_cancel(void);
+
/**
* Open virt2phys driver interface device.
*
*/
int eal_mem_virt2iova_init(void);
+/**
+ * Cleanup resources used for virtual to physical address translation.
+ */
+void eal_mem_virt2iova_cleanup(void);
+
/**
* Locate Win32 memory management routines in system libraries.
*