Skip to content

Commit

Permalink
test_6
Browse files Browse the repository at this point in the history
  • Loading branch information
nunojsa committed Feb 5, 2025
1 parent abdb945 commit 8560b66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions block.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ int iio_block_dequeue(struct iio_block *block, bool nonblock)
return -EPERM;
}

printf("Sync buf worker task\n");
return iio_task_sync(token, 0);
}

Expand Down
4 changes: 2 additions & 2 deletions iiod/responder.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ static int buffer_enqueue_block(void *priv, void *d)
if (entry->cyclic)
goto out_send_response;

printf("Add to dequeue tash Enqueued block, (%p): %u\n",
printf("Add to dequeue task Enqueued block, (%p): %u\n",
entry, entry->idx);
ret = iio_task_enqueue_autoclear(buffer->dequeue_task, entry);
if (ret)
Expand Down Expand Up @@ -757,7 +757,7 @@ static void handle_free_block(struct parser_pdata *pdata,

SLIST_REMOVE(&buf_entry->blocklist, entry, block_entry, entry);

printf("Block %u freed.\n", entry->idx);
printf("Block (%p): %u freed.\n", entry, entry->idx);
free_block_entry(entry);
ret = 0;
break;
Expand Down

0 comments on commit 8560b66

Please sign in to comment.