Re: more protection around pauseNonContainerThread()?

2016-09-03 Thread Mark Thomas
On 03/09/2016 18:08, Romain Manni-Bucau wrote: > This is an interesting quote cause i understand as it is implemented in > tomcat but also means any usage would potentially lead to deadlocks or > container integration to ensure thread safety is done right making in both > cases the spec unusable or

Re: more protection around pauseNonContainerThread()?

2016-09-03 Thread Romain Manni-Bucau
This is an interesting quote cause i understand as it is implemented in tomcat but also means any usage would potentially lead to deadlocks or container integration to ensure thread safety is done right making in both cases the spec unusable or hard to use from a user perspective. Should it be push

Re: more protection around pauseNonContainerThread()?

2016-09-03 Thread Mark Thomas
On 02/09/2016 15:47, Romain Manni-Bucau wrote: > ~business code (simplified): > > public void myBusiness(AsyncResponse wrapperOfAsyncContext) { > new Thread() { > @Override > public void run() { > wrapperOfAsyncContext.synchronizedDispatch(); > } > }.sta

[GUMP@vmgump]: Project tomcat-trunk-test-apr (in module tomcat-trunk) failed

2016-09-03 Thread Bill Barker
mons/daemon/dist/bin/commons-daemon-20160903-native-src.tar.gz -Dexamples.sources.skip=true -Dbase.path=/srv/gump/public/workspace/tomcat-trunk/tomcat-build-libs -Djdt.jar=/srv/gump/packages/eclipse/plugins/R-4.5-201506032000/ecj-4.5.jar -Dtest.apr.loc=/srv/gump/public/workspace/tomcat-native-tru