-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libiio 1.0: cannot create new buffer after cancel operation #985
Comments
This is the output of iiod when I run it on the device in a terminal New client connected from 192.168.137.1
New client connected from 192.168.137.1
New client connected from 192.168.137.1
New client connected from 192.168.137.1
New client connected from 192.168.137.1
New client connected from 192.168.137.1
New client connected from 192.168.137.1
New client connected from 192.168.137.1
New client connected from 192.168.137.1
Client exited
Client exited
Client exited
Client exited
Client exited
Client exited
Client exited
Client exited
Client exited
Client exited
New client connected from 192.168.137.1
Client exited
Client exited for every unsuccessful |
Ah I figured out that the |
Even if I don't do |
The problem seems to appear only when I run libiio 1.0 on the network client side. local libiio 1.0 and client libiio 0.24 does not show this problem. |
Noted, thanks for testing Libiio v1.0 btw. |
Closing as this issue was fixed. |
When I abort a dequeue operation with
iio_buffer_cancel
and then try to create a new buffer withiio_device_create_buffer
I getfor about 3 seconds. After that
iio_device_create_buffer
works again without doing anything else. Is this a bug? It would be nice if I could create a new buffer immediately after cancel for my application.I am using a network context. Latest libiio dev branch is running on host and device.
The text was updated successfully, but these errors were encountered: