retain Retains the OSObject instance Declarationvirtual void retain(void); DiscussionIncreases the retain count of the instance by one. See AlsoManaging the Object LifecycleinitreleasefreeOSObjectPtrOSObjectRef