@@ -175,13 +175,13 @@ OPAL_DECLSPEC int opal_free_list_grow_st(opal_free_list_t *flist, size_t num_ele
175175OPAL_DECLSPEC int opal_free_list_resize_mt (opal_free_list_t * flist , size_t size );
176176
177177/**
178- * Attemp to obtain an item from a free list.
178+ * Attempt to obtain an item from a free list.
179179 *
180180 * @param fl (IN) Free list.
181181 * @param item (OUT) Allocated item.
182182 *
183183 * If the requested item is not available the free list is grown to
184- * accomodate the request - unless the max number of allocations has
184+ * accommodate the request - unless the max number of allocations has
185185 * been reached. If this is the case - a NULL pointer is returned
186186 * to the caller. This function comes in three flavor: thread safe
187187 * (opal_free_list_get_mt), single threaded (opal_free_list_get_st),
@@ -230,7 +230,7 @@ static inline opal_free_list_item_t *opal_free_list_get(opal_free_list_t *flist)
230230 * @param item (OUT) Allocated item.
231231 *
232232 * If the requested item is not available the free list is grown to
233- * accomodate the request - unless the max number of allocations has
233+ * accommodate the request - unless the max number of allocations has
234234 * been reached. In this case the caller is blocked until an item
235235 * is returned to the list.
236236 */
@@ -259,8 +259,8 @@ static inline opal_free_list_item_t *opal_free_list_wait_mt(opal_free_list_t *fl
259259 }
260260 }
261261 } else {
262- /* If I wasn't able to get the lock in the begining when I finaly grab it
263- * the one holding the lock in the begining already grow the list. I will
262+ /* If I wasn't able to get the lock in the beginning when I finally grab it
263+ * the one holding the lock in the beginning already grow the list. I will
264264 * release the lock and try to get a new element until I succeed.
265265 */
266266 opal_mutex_lock (& fl -> fl_lock );
0 commit comments