-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rt: remove driver drop implementations (#5014)
Currently, drivers are responsible for clean up when they are dropped. This is possible today because each driver struct holds a reference to its internal handle. As part of an effort to decouple drivers from their handles, this patch removes the drop implementations for the time and IO driver in favor of having the scheduler explicitly call `shutdown()` as part of its shutdown process. The scheduler will hold a reference to both the driver and the driver handles, so in the future, it will be able to pass in the driver handles as part of the shutdown process.
- Loading branch information
1 parent
3f379ab
commit 98e642d
Showing
3 changed files
with
11 additions
and
27 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
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