Changeset 30503 in vbox
- Timestamp:
- Jun 29, 2010 1:44:57 PM (15 years ago)
- Location:
- trunk/src/VBox/Main/webservice
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/vboxweb.cpp
r30501 r30503 131 131 typedef std::map<RTTHREAD, com::Utf8Str> ThreadsMap; 132 132 ThreadsMap g_mapThreads; 133 134 // this mutex is held while methodmaps.cpp converts parameters 135 util::WriteLockHandle *g_pParamsLockHandle; 133 136 134 137 /**************************************************************************** -
trunk/src/VBox/Main/webservice/vboxweb.h
r30501 r30503 52 52 extern util::WriteLockHandle *g_pAuthLibLockHandle; 53 53 extern util::WriteLockHandle *g_pSessionsLockHandle; 54 extern util::WriteLockHandle *g_pParamsLockHandle; 54 55 55 56 /**************************************************************************** -
trunk/src/VBox/Main/webservice/websrv-cpp.xsl
r30463 r30503 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); 457 459 458 460 do {</xsl:text> … … 752 754 </xsl:variable> 753 755 756 <xsl:call-template name="emitNewlineIndent8" /> 757 <xsl:text>paramsLock.release();</xsl:text> 754 758 <xsl:call-template name="emitNewlineIndent8" /> 755 759 <xsl:value-of select="concat('WEBDEBUG((g_pcszCallingComMethod, "', $comMethodName, '"));')" /> … … 822 826 <xsl:call-template name="emitNewlineIndent8" /> 823 827 <xsl:text>WEBDEBUG((g_pcszDoneCallingComMethod));</xsl:text> 828 <xsl:call-template name="emitNewlineIndent8" /> 829 <xsl:text>paramsLock.acquire();</xsl:text> 824 830 <xsl:call-template name="emitNewline" /> 825 831 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.