Skip to content
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

Add list of acquired devices to miscdev #328

Merged
merged 1 commit into from Jun 15, 2022

Conversation

tsmk94
Copy link
Contributor

@tsmk94 tsmk94 commented May 30, 2022

Track all opened devices in a list. This is required if an application uses more than one device in parallel. In the current implementation only the last acquired device is saved in the miscdev, and when closing the device file in the user-space runtime, only acceses to this single device is released. By tracking all acquired devices in a list, all devices are released properly when closing the miscdev.

Track all opened devices in a list. This is required if an application uses more than one device in parallel. In the current implementation only the last acquired device is saved in the miscdev, and when closing the device file in the user-space runtime, only acceses to this single device is released. By tracking all acquired devices in a list, all devices are released properly when closing the miscdev.
@tsmk94 tsmk94 marked this pull request as ready for review May 30, 2022 12:31
@tsmk94 tsmk94 requested a review from wirthjohannes May 30, 2022 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants