Follow-up from "Draft: Resolve "hooks should use their own IOService instance and register it with the main IOService""
The following discussion from !2262 (merged) should be addressed:
-
@fdupont started a discussion: (+2 comments) This is very far to be MT safe so either we create a followup ticket to make it MT safe or we make it directly MT safe.
the current implementation of the IOServiceMgr is not intended to be used in a MT environment. registering/unregistering/clearing IOService objects should be done only by the main thread while other threads are paused/stopped.
this ticket should ass MT capabilities to IOServiceMgr if needed.