-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Thomas,

On 8/31/13 5:50 PM, Mark Thomas wrote:
> However, there is some good news. If you use the async API, the
> app can stay pretty much as is.
> 
> The short version is: - use startAsync and pass the async context
> to your threads - have those threads write to the response (make
> sure you don't write concurrently) - call complete once all the
> threads have completed

I'm curious, having never done any async programming: can one simply
synchronize on the response object in order to remain threadsafe, or
are there façades in use that prevent that from being practical?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSJyAeAAoJEBzwKT+lPKRYwiUQAJC41eMzz9Q/CkDU16wBt/3u
eJ84zBe/dVNdQE1jGq9q8aYpoyf6bcTT9DT8nGdSdtDH11Qgup4OenftaA0itDVU
3EAo2cyggHe0NMLg/n8Mst6zYNu8P0KqtYYCoO2FccyFdxSoSJg5xVd1wGWLT4FF
M58+SVRBNti0+wV50pZsh5U0ofT4A8f7fToH+kMqdm/RHQMkSsfNE5q6Nqv4s5wF
Y7OkRZ2bmqHVVO3rcuHPaQExETLCBqovkPsRRQPukncJX+PlK1rD50SEiMcpfYIR
TYzDCV8AShfCkz+bDPka29ELtSqXAjESmb+nA2CEd4PNOpS7pRS63KHDnSZiIBuz
71KOrxKyIe8xYF9lpQPAO2w+iPNyWsCYuqAaQAu5flwR9VFSE/JojXFu8wNPncp+
0mNwlOrYTVKMe3BEyPXwXRh/4E/Zoa1CWvVYzkIaH6a6rR8a0YKenZQlPrX4A2Ro
N6CmHTOrucphBQmNpylacUbW1U+7eXAYbfNH/MXioO+bn+dQ8H/hCphevkGboXhr
j2Vrj+URzjrrQVsd+rKpE5hTYg8oweFFuZeXNO8dmzwXklofw+sQVFhoyMA0Y3Ze
xeMaHh1BmsNakvXMWdpfxLzGEOfozRun0t5FjCWckvFdlAhp83P0uYjxhyQI0Rs8
NGU8xXMGCeNmNpzKtBRt
=lnk4
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to