VirtualBox

Ignore:
Timestamp:
Dec 21, 2016 11:38:12 AM (8 years ago)
Author:
vboxsync
Message:

Main: ThreadTask: m_hThread shouldn't be an object member

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r64964 r64972  
    39703970}
    39713971
    3972 static DECLCALLBACK(int) fntSaveMediaRegistries(RTTHREAD ThreadSelf, void *pvUser);
     3972static DECLCALLBACK(int) fntSaveMediaRegistries(void *pvUser);
    39733973
    39743974class SaveMediaRegistriesDesc : public ThreadTask
     
    39873987        try
    39883988        {
    3989             fntSaveMediaRegistries(m_hThread, this);
     3989            fntSaveMediaRegistries(this);
    39903990        }
    39913991        catch(...)
     
    39983998    ComObjPtr<VirtualBox> pVirtualBox;
    39993999
    4000     friend DECLCALLBACK(int) fntSaveMediaRegistries(RTTHREAD ThreadSelf, void *pvUser);
     4000    friend DECLCALLBACK(int) fntSaveMediaRegistries(void *pvUser);
    40014001    friend void VirtualBox::i_saveMediaRegistry(settings::MediaRegistry &mediaRegistry,
    40024002                                                const Guid &uuidRegistry,
     
    40044004};
    40054005
    4006 DECLCALLBACK(int) fntSaveMediaRegistries(RTTHREAD ThreadSelf, void *pvUser)
    4007 {
    4008     NOREF(ThreadSelf);
     4006DECLCALLBACK(int) fntSaveMediaRegistries(void *pvUser)
     4007{
    40094008    SaveMediaRegistriesDesc *pDesc = (SaveMediaRegistriesDesc *)pvUser;
    40104009    if (!pDesc)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette