[OpenSIPS-Devel] [OpenSIPS/opensips] 0bd293: Add priorities for the fds in reactor.

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jan 29 13:20:30 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0bd29346e8385035eb8d9342c42d22123bce37a9
      https://github.com/OpenSIPS/opensips/commit/0bd29346e8385035eb8d9342c42d22123bce37a9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M io_wait.c
    M io_wait.h
    M io_wait_loop.h
    M modules/tm/async.c
    M reactor_defs.h
    M tcp_main.c
    M tcp_read.c
    M udp_server.c

  Log Message:
  -----------
  Add priorities for the fds in reactor.

It is important to have priorities between the fds triggered in reactor/poll. Operations like timer or async resume must have priority over reading new SIP messages from network.
Current code generically implements a priority mechanism, for all types of polling. We may optimize it in the next weeks, with specific implementations for each type of polling.




More information about the Devel mailing list