Skip to content

Commit

Permalink
Use infinite timeout together with signal
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jan 22, 2024
1 parent 7f3c641 commit e5e0c3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/adios2/toolkit/sst/dp/rdma_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ static void *make_progress(void *params_)
* fashion otherwise (e.g. shm).
*/
printf("Going into fi_cq_sread()\n");
ssize_t rc = fi_cq_sread(params->cq_signal, (void *)CQEntries, batch_size, NULL,
SST_BACKOFF_SECONDS_MAX * 1000);
ssize_t rc = fi_cq_sread(params->cq_signal, (void *)CQEntries, batch_size, NULL, -1);
printf("fi_cq_sread()=%ld\n", rc);
if (rc < 1)
{
Expand Down Expand Up @@ -691,6 +690,7 @@ static void fini_fabric(struct fabric_state *fabric, CP_Services Svcs, void *CP_
{

fabric->cq_manual_progress->do_continue = 0;
fi_cq_signal(fabric->cq_signal);

if (pthread_join(fabric->pthread_id, NULL) != 0)
{
Expand Down

0 comments on commit e5e0c3c

Please sign in to comment.