Skip to content

Commit 9b437d2

Browse files
Fix spelling error in examples.rst, provider_os_memory.h, pool_disjoint.h and memory_pool.h
1 parent bf8d0d8 commit 9b437d2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/config/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ by a different library and the caller of the :any:`umfGetIPCHandle` function may
178178
The :any:`umfGetIPCHandle` function returns the IPC handle and its size. The IPC handle is a byte-copyable opaque
179179
data structure. The :any:`umf_ipc_handle_t` type is defined as a pointer to a byte array. The size of the handle
180180
might be different for different memory provider types. The code snippet below demonstrates how the IPC handle can
181-
be serialized for marshalling purposes.
181+
be serialized for marshaling purposes.
182182

183183
.. code-block:: c
184184

include/umf/memory_pool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ umf_result_t umfFree(void *ptr);
140140
/// * Implementations *must* store the error code in thread-local
141141
/// storage prior to returning NULL from the allocation functions.
142142
///
143-
/// * If the last allocation/de-allocation operation succeeded, the value returned by
143+
/// * If the last allocation/deallocation operation succeeded, the value returned by
144144
/// this function is unspecified.
145145
///
146146
/// * The application *may* call this function from simultaneous threads.

include/umf/pools/pool_disjoint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ umfDisjointPoolParamsSetTrace(umf_disjoint_pool_params_handle_t hParams,
8787

8888
/// @brief Set shared limits for disjoint pool.
8989
/// @param hParams handle to the parameters of the disjoint pool.
90-
/// @param hSharedLimits handle tp the shared limits.
90+
/// @param hSharedLimits handle to the shared limits.
9191
/// @return UMF_RESULT_SUCCESS on success or appropriate error code on failure.
9292
umf_result_t umfDisjointPoolParamsSetSharedLimits(
9393
umf_disjoint_pool_params_handle_t hParams,

include/umf/providers/provider_os_memory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extern "C" {
2323
/// Not every mode is supported on every system.
2424
typedef enum umf_numa_mode_t {
2525
/// Default binding mode. Actual binding policy is system-specific. On
26-
/// linux this corresponds to MPOL_DEFAULT. If this mode is specified,
26+
/// Linux this corresponds to MPOL_DEFAULT. If this mode is specified,
2727
/// nodemask must be NULL and maxnode must be 0.
2828
UMF_NUMA_MODE_DEFAULT,
2929

0 commit comments

Comments
 (0)