[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myserver-commit] [2885] Removed polling.
From: |
Giuseppe Scrivano |
Subject: |
[myserver-commit] [2885] Removed polling. |
Date: |
Wed, 15 Oct 2008 22:54:22 +0000 |
Revision: 2885
http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=2885
Author: gscrivano
Date: 2008-10-15 22:54:21 +0000 (Wed, 15 Oct 2008)
Log Message:
-----------
Removed polling. It can be optimized more.
Modified Paths:
--------------
trunk/myserver/src/http_handler/fastcgi/fastcgi.cpp
Modified: trunk/myserver/src/http_handler/fastcgi/fastcgi.cpp
===================================================================
--- trunk/myserver/src/http_handler/fastcgi/fastcgi.cpp 2008-10-14 21:48:47 UTC
(rev 2884)
+++ trunk/myserver/src/http_handler/fastcgi/fastcgi.cpp 2008-10-15 22:54:21 UTC
(rev 2885)
@@ -385,7 +385,7 @@
{
if((clock_t)(getTicks() - initialTicks) > timeout)
break;
- Thread::wait(1);
+ con.sock.dataOnRead (timeout / 1000, timeout % 1000);
}
if(con.sock.bytesToRead() >= sizeof(FcgiHeader))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [myserver-commit] [2885] Removed polling.,
Giuseppe Scrivano <=