mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-25 15:51:24 +02:00
MINOR: spoe-server: rename "worker" functions
"worker" name is a little bit generic and it is used in many places, so it is hard to find the expected symbol.
This commit is contained in:
parent
880d7e15ba
commit
5301ed1589
@ -918,7 +918,7 @@ error_or_quit:
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
worker(void *data)
|
spoa_worker(void *data)
|
||||||
{
|
{
|
||||||
struct worker w;
|
struct worker w;
|
||||||
struct sockaddr_in client;
|
struct sockaddr_in client;
|
||||||
@ -1056,7 +1056,7 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
info[0] = sock;
|
info[0] = sock;
|
||||||
info[1] = i+1;
|
info[1] = i+1;
|
||||||
if (pthread_create(&ts[i], NULL, worker, info) < 0) {
|
if (pthread_create(&ts[i], NULL, spoa_worker, info) < 0) {
|
||||||
fprintf(stderr, "Failed to create thread %d: %m\n", i+1);
|
fprintf(stderr, "Failed to create thread %d: %m\n", i+1);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user