Skip to content

Commit

Permalink
prov/cxi: Fix unit test missing pthread initialization
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Welch <welch@hpe.com>
  • Loading branch information
swelch committed Feb 5, 2025
1 parent 9fbd8b1 commit 5a22d61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prov/cxi/test/tagged.c
Original file line number Diff line number Diff line change
Expand Up @@ -5678,6 +5678,9 @@ void simple_rx_wait(bool epoll, bool ux_msg)
.ux_msg = ux_msg,
};

pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);

send_buf = aligned_alloc(s_page_size, send_len);
cr_assert(send_buf);

Expand Down

0 comments on commit 5a22d61

Please sign in to comment.