- Timestamp:
- Jul 2, 2010 12:55:52 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63300
- Location:
- trunk/src/VBox/Main/webservice
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/vboxweb.cpp
r30514 r30577 131 131 typedef std::map<RTTHREAD, com::Utf8Str> ThreadsMap; 132 132 ThreadsMap g_mapThreads; 133 134 // this mutex is held while methodmaps.cpp converts parameters135 util::WriteLockHandle *g_pParamsLockHandle;136 133 137 134 /**************************************************************************** -
trunk/src/VBox/Main/webservice/vboxweb.h
r30503 r30577 52 52 extern util::WriteLockHandle *g_pAuthLibLockHandle; 53 53 extern util::WriteLockHandle *g_pSessionsLockHandle; 54 extern util::WriteLockHandle *g_pParamsLockHandle;55 54 56 55 /**************************************************************************** -
trunk/src/VBox/Main/webservice/websrv-cpp.xsl
r30503 r30577 455 455 <xsl:template name="emitPrologue"> 456 456 <xsl:text> WEBDEBUG((g_pcszEntering, __FUNCTION__)); 457 458 util::AutoWriteLock paramsLock(*g_pParamsLockHandle COMMA_LOCKVAL_SRC_POS);459 457 460 458 do {</xsl:text> … … 754 752 </xsl:variable> 755 753 756 <xsl:call-template name="emitNewlineIndent8" />757 <xsl:text>paramsLock.release();</xsl:text>758 754 <xsl:call-template name="emitNewlineIndent8" /> 759 755 <xsl:value-of select="concat('WEBDEBUG((g_pcszCallingComMethod, "', $comMethodName, '"));')" /> … … 826 822 <xsl:call-template name="emitNewlineIndent8" /> 827 823 <xsl:text>WEBDEBUG((g_pcszDoneCallingComMethod));</xsl:text> 828 <xsl:call-template name="emitNewlineIndent8" />829 <xsl:text>paramsLock.acquire();</xsl:text>830 824 <xsl:call-template name="emitNewline" /> 831 825 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.