mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Use futex instead of pthread_mutex on Linux
This commit is contained in:
1 parent
6fe36b01d1
commit
930d9823ea
3 files changed
+52
-1
No files matched your search
@@ -107,6 +107,7 @@ int splicemap(struct clientparam * param, int timeo){
|
||||
|
||||
while((!stop || (inclipipe && param->remsock != INVALID_SOCKET) || (insrvpipe && param->clisock != INVALID_SOCKET)) && !conf.timetoexit){
|
||||
|
||||
param->cycles++;
|
||||
#ifdef NOIPV6
|
||||
sasize = sizeof(struct sockaddr_in);
|
||||
#else
|
||||
@@ -367,6 +368,7 @@ int sockmap(struct clientparam * param, int timeo){
|
||||
|
||||
|
||||
while (!stop&&!conf.timetoexit){
|
||||
param->cycles++;
|
||||
#ifdef NOIPV6
|
||||
sasize = sizeof(struct sockaddr_in);
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user