modify acl_read_wait.c, remove C++ comment format

This commit is contained in:
zsx 2015-03-12 15:25:03 +08:00
parent 2b0f428fc7
commit 9f358e6a98
3 changed files with 2 additions and 3 deletions

View File

@ -121,7 +121,6 @@ int acl_read_wait(ACL_SOCKET fd, int timeout)
if (isSuccess)
return 0;
//delay = 0;
}
acl_msg_warn("timeout error: %s", acl_last_serror());

View File

@ -257,7 +257,7 @@ int main(int argc, char* argv[])
if (argc >= 2 && strcmp(argv[1], "alone") == 0)
{
int task_count = 20, threads_count = 2;
int task_count = 2, threads_count = 2;
format = (void (*)(const char*, ...)) printf;
format("listen: 127.0.0.1:8888\r\n");
acl::log::stdout_open(true);

View File

@ -1,3 +1,3 @@
#!/bin/sh
valgrind --tool=memcheck --leak-check=yes -v ./master_threads alone ioctl_echo.cf
valgrind --tool=memcheck --leak-check=yes -v ./master_threads alone master_threads.cf