| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
90aa63a97c |
MT#55283 fix/rework poller-per-thread feature
The poller-per-thread feature was broken with a division by zero. Take the opportunity to rework it and eliminate the poller_map object. Use a simple array of pollers for media sockets, plus one global poller for control sockets. In the regular case only one poller is created and everything points to that poller. In the poller-per-thread case, one poller per thread is created, plus one poller (also with its own single thread) for control connections. All control sockets use the single control poller, while all media sockets get assigned one poller from the pool in a round-robin fashion. closes #1801 Change-Id: Iae91a3e10b7206455c6df33b1a472254c700ce21 |
2 years ago |
|
|
423d7bf824 |
MT#59086 Unify header files.
In the header files follow the rules: 1. Firstly goes ifndef/define construction, then one empty row. 2. Secondly go system headers, so in angle-brackets, then one empty row. 3. If there are important pre-processor definitions, which affect the following custom file headers, they are added next, then one empty row. 4. Thirdly custom header files, so in double quotes, then at least one empty row. 5. If there is "xt_RTPENGINE.h", it's mentioned next, but separately, then one empty row. 6. Then pre-processor definitions, and one empty row before the code. In some situations it's allowed to step aside from the rules, when inclusions are dependent on each other, so on specific sequence, and also possibly on some inline objects definitions. But, if possible to follow the rules, it should be done. Change-Id: I6bec69b508653947c04e7785775373d21112eb58 |
2 years ago |
|
|
38d064eab6 |
MT#55283 use typed GHashTable for tcp streams
Change-Id: Ia52c5895b1174a920c0ebf5c33bd9c86df7e449f |
2 years ago |
|
|
73489fc556 |
MT#56374 obsolete non-global pollers
We have long switched to having a single primary global poller, so there's no point in passing the poller pointer around and storing it in associated objects. Remove all remnants of non-global pollers. Change-Id: I5a3fd217d5de51e839e2b04fec7e23643ee83631 |
2 years ago |
|
|
f9f9348d4f |
MT#56374 eliminate poller_timer functionality
All timers have been moved to their dedicated timer threads, making this mechanism obsolete. The only victim is the timeout handling for TCP control streams. Since other TCP streams aren't using timeout handling either, and the TCP control socket is barely used by anyone, we can live with not having a dedicated timeout for these streams for now. Change-Id: I83d9b9a844f4f494ad37b44f5d1312f272beff3f |
2 years ago |
|
|
1a28b73a2d |
MT#55283 Rename aux -> helpers
Windows doesn't allow a file to be named aux, so checkout fails. closes #1686 Change-Id: I4667561f430ec8d4767d2313890839754be77322 |
3 years ago |
|
|
1589c29e28 |
TT#28300 add cleanup of poller related data
Change-Id: I64a38869ce3120d066fc818e3c76941a1c8186b7 |
6 years ago |
|
|
3b28460507 |
TT#52651 Squashed commit of the following:
commit |
7 years ago |
|
|
d64c888a0e |
TT#36301 transcoding unit tests
Change-Id: If48e5afe5a343b557183b6e87441f52424dd2c6a |
8 years ago |
|
|
d10952a029 |
TT#26757 add tcp_listener framework
Change-Id: I402d36637235ba0cc03e77d426f4dd9cbc4722a9 |
8 years ago |