Author: costin
Date: Mon Mar 5 06:30:17 2012
New Revision: 1296944
URL: http://svn.apache.org/viewvc?rev=1296944&view=rev
Log:
EINTR needs to be returned to java in order for Poll.interrupt() to work, it is
already handled in AprEndpoint.
( there is no value of having an interrupt method if it is swallowed in native,
quite hard to figure out why
it doesn't work...)
Modified:
tomcat/native/trunk/native/src/poll.c
Modified: tomcat/native/trunk/native/src/poll.c
URL:
http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/poll.c?rev=1296944&r1=1296943&r2=1296944&view=diff
==============================================================================
--- tomcat/native/trunk/native/src/poll.c (original)
+++ tomcat/native/trunk/native/src/poll.c Mon Mar 5 06:30:17 2012
@@ -358,7 +358,7 @@ TCN_IMPLEMENT_CALL(jint, Poll, poll)(TCN
#ifdef TCN_DO_STATISTICS
p->sp_eintr++;
#endif
- continue;
+ /* Pass it to the caller - interrupt() was called */
}
TCN_ERROR_WRAP(rv);
#ifdef TCN_DO_STATISTICS
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]