Skip to content

Commit a4a4baa

Browse files
committed
Replace mention of as_notify with wake_host_thread
The OpenCAPI docs refer to the command as wake_host_thread, so we should do the same. Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
1 parent d36977d commit a4a4baa

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/include/libocxl.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,14 @@ ocxl_err ocxl_afu_get_p9_thread_id(ocxl_afu_h afu, uint16_t *thread_id);
206206

207207
#if defined(_ARCH_PPC64) && !defined(__STRICT_ANSI__)
208208
/**
209-
* A wrapper around the the Power 9 wait instruction
209+
* A wrapper around the the POWER9 wait instruction
210210
*
211-
* The notify/wait mechanism provide a low-latency way for an AFU to signal to the
211+
* The wake_host_thread/wait mechanism provide a low-latency way for an AFU to signal to the
212212
* calling thread that a condition has been met (eg. work has been completed).
213213
*
214-
* This function will cause the thread to wait until woken by the AFU via as_notify.
215-
* As the thread may be woken for reasons other than as_notify, a condition variable
216-
* must be set by the AFU before issuing the notify.
214+
* This function will cause the thread to wait until woken by the AFU via wake_host_thread.
215+
* As the thread may be woken for reasons other than wake_host_thread, a condition variable
216+
* must be set by the AFU before issuing the wake.
217217
*
218218
* In order to successfully wake a waiting thread, the AFU must know the address of
219219
* the condition variable, and the thread ID of the application (via ocxl_afu_get_p9_thread_id()).

0 commit comments

Comments
 (0)