Opened 5 years ago

Closed 5 years ago

#247 closed task (fixed)

Do not include listen sockets in select when no client slot is free

Reported by: ph3-der-loewe Owned by:
Priority: minor Milestone:
Component: SavannahIce Version: current
Keywords: Cc:
Architecture: Compiler:
Difficulty: normal Kernel:
Operating System: Parent Tickets:
Patch attached: no Protocol: RoarAudio
Sound driver: Topic: other

Description

When no client slot is free the listen sockets should not be included in select because this will make select return without any delay if there are waiting clients. This can result in a very fast loop and wasting CPU time if no streams are running to slow down.

Subtickets

Change History (1)

comment:1 Changed 5 years ago by ph3-der-loewe

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.