VirtualBox

Changeset 30577 in vbox for trunk/src


Ignore:
Timestamp:
Jul 2, 2010 12:55:52 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63300
Message:

Webservice: back out r63195

Location:
trunk/src/VBox/Main/webservice
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/vboxweb.cpp

    r30514 r30577  
    131131typedef std::map<RTTHREAD, com::Utf8Str> ThreadsMap;
    132132ThreadsMap          g_mapThreads;
    133 
    134 // this mutex is held while methodmaps.cpp converts parameters
    135 util::WriteLockHandle  *g_pParamsLockHandle;
    136133
    137134/****************************************************************************
  • trunk/src/VBox/Main/webservice/vboxweb.h

    r30503 r30577  
    5252extern util::WriteLockHandle  *g_pAuthLibLockHandle;
    5353extern util::WriteLockHandle  *g_pSessionsLockHandle;
    54 extern util::WriteLockHandle  *g_pParamsLockHandle;
    5554
    5655/****************************************************************************
  • trunk/src/VBox/Main/webservice/websrv-cpp.xsl

    r30503 r30577  
    455455<xsl:template name="emitPrologue">
    456456  <xsl:text>    WEBDEBUG((g_pcszEntering, __FUNCTION__));
    457 
    458     util::AutoWriteLock paramsLock(*g_pParamsLockHandle  COMMA_LOCKVAL_SRC_POS);
    459457
    460458    do {</xsl:text>
     
    754752  </xsl:variable>
    755753
    756   <xsl:call-template name="emitNewlineIndent8" />
    757   <xsl:text>paramsLock.release();</xsl:text>
    758754  <xsl:call-template name="emitNewlineIndent8" />
    759755  <xsl:value-of select="concat('WEBDEBUG((g_pcszCallingComMethod, &quot;', $comMethodName, '&quot;));')" />
     
    826822  <xsl:call-template name="emitNewlineIndent8" />
    827823  <xsl:text>WEBDEBUG((g_pcszDoneCallingComMethod));</xsl:text>
    828   <xsl:call-template name="emitNewlineIndent8" />
    829   <xsl:text>paramsLock.acquire();</xsl:text>
    830824  <xsl:call-template name="emitNewline" />
    831825</xsl:template>
Note: See TracChangeset for help on using the changeset viewer.

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