mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-30 10:57:34 +08:00
modify acl_read_wait.c, remove C++ comment format
This commit is contained in:
parent
2b0f428fc7
commit
9f358e6a98
@ -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());
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user