added debug text to test
This commit is contained in:
parent
cbb7bdabc8
commit
b4d75c8317
@ -68,6 +68,7 @@ int main(void)
|
||||
{
|
||||
int n, i;
|
||||
|
||||
LOG_DEBUG("MASTER WAITING = " << idx);
|
||||
n = epoll_wait (efd, events, MAXEVENTS, -1);
|
||||
for (i = 0; i < n; i++)
|
||||
{
|
||||
@ -88,6 +89,7 @@ int main(void)
|
||||
means one or more incoming connections. */
|
||||
while (true)
|
||||
{
|
||||
LOG_DEBUG("IDX = " << idx);
|
||||
idx = (idx + 1) % workers.size();
|
||||
|
||||
auto& worker = workers[i];
|
||||
|
Loading…
Reference in New Issue
Block a user