Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow attaching of context specific user data to mce io monitors
After io monitor is created, used data can be attached to it via mce_io_mon_set_user_data(). The existing notification interface is not changed, i.e. the user data is not automatically passed to notification callbacks and must be queried via mce_io_mon_get_user_data() function when needed. If free callback is provided, the user data is released when the io monitor itself gets deleted. [mce] Allow attaching of context specific user data to mce io monitors
- Loading branch information
Showing
2 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters