wmasilva
1c05719100
[Core] softtimer: fix crash in timezones when reloading xml
...
* switch_time: fix segfault null TIMEZONES_LIST.hash when reloading xml
* Unbind before destroying TIMEZONES_LIST.hash. Protect TIMEZONES_LIST.hash with a mutex that's allocated in core's global runtime.memory_pool so the mutex does not die on softtimer shutdown.
---------
Co-authored-by: Andrey Volk <andywolk@gmail.com>
2024-01-24 22:04:32 +03:00
Jakub Karolczyk
5656972bfe
[core,miniupnpc,modules] Fix not used variables
2023-07-04 10:18:16 +01:00
Andrey Volk
23e6569fb0
[Core] Fix race condition of session_table hash in switch_core_session_request_uuid()
2023-03-02 12:53:00 +03:00
Andrey Volk
dd3075a203
[Core] Fix Windows build after apr-util removal
2022-08-29 20:17:12 +03:00
Chris Rienzo
85d25e269b
[core] use fspr prefixed symbols instead of apr
2022-08-29 20:17:10 +03:00
Andrey Volk
56b6e954cf
[Core] Fix dead nested assignments
2022-08-09 23:29:31 +03:00
Andrey Volk
fbf2da44d9
[Core] Fix use of private headers.
2021-11-10 21:46:29 +03:00
Andrey Volk
c3ee0c17cb
[Core] Fix various dead assignments.
2020-02-16 00:59:37 +04:00
Dragos Oancea
b4a591dcd2
[core] scan-build: Value stored to 'tz_name' is never read - switch_strftime_tz()
2020-02-14 16:55:02 +00:00
Dragos Oancea
7e0ba182cc
[core] scan-build: Value stored to 'time_sync' is never read - softtimer_runtime()
2020-02-12 21:44:50 +00:00
Dragos Oancea
1c2788a055
[core] scan-build: Value stored to 'time_sync' during its initialization is never read
2020-02-12 10:19:16 +00:00
Visytel
78eb8f61b3
[core] Reduce log level to DEBUG for binding to events and certain clock messages
2020-02-11 23:58:33 +04:00
Dragos Oancea
6c06e9549a
[core] scan-build: Value stored to 'theiroffset' is never read
2020-01-28 22:57:12 +00:00
Dragos Oancea
ed991ef153
[core] scan-build: switch_strftime_tz() - Dead assignment
2019-12-31 00:57:29 +04:00
Andrey Volk
48b8fa5864
FS-11981: [Core] Fix FreeSWITCH crash when timerfd is initialized with an error.
2019-08-19 21:35:23 +04:00
Andrey Volk
0d73ca2f51
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_time.c
2019-07-15 23:45:36 +04:00
Andrey Volk
9c18e272f9
FS-11458: [core] Fix video timing.
2019-01-17 12:51:10 +04:00
Anthony Minessale
f4ad4ed6c4
FS-10126: [freeswitch-core] General Video Improvements #resolve
2017-03-15 15:24:01 -05:00
Sergey Safarov
df1ab07ca4
FS-9924: Removed extra space in source files
2017-02-09 23:59:49 -05:00
Anthony Minessale
aaecc5a70c
FS-10021: [RTP] Large RTP timestamp jump when system clock is late from internal timer #resolve
2017-02-09 11:10:01 -06:00
Anthony Minessale
2ae48e9c17
FS-8215 #resolve [MacOSX nanosleep is not super accurate]
2015-09-23 18:00:44 -05:00
Brian West
c6ccf1c513
FS-7761 [core] fix shutdown races running api commands during shutdown
2015-07-02 10:08:54 -05:00
Anthony Minessale
fc1ff9209e
FS-7508: timing update
2015-05-28 12:47:12 -05:00
Anthony Minessale
0dfd08bc86
FS-7066 FS-7253 FS-7231 #comment wait, there's more.... need this too, let's never change this code again....
2015-02-18 20:41:07 -06:00
Anthony Minessale
d6777e3aa1
FS-7066 FS-7253 FS-7231 #comment this should do it #resolve
2015-02-18 19:35:39 -06:00
Anthony Minessale
b320c525c2
FS-7066 FS-7253 FS-7231 #this part should be right
2015-02-18 02:55:14 -06:00
Anthony Minessale
68db163aad
FS-7066 FS-7253 FS-7231 #comment not so fast, revert
2015-02-18 02:35:22 -06:00
Anthony Minessale
acce943b5d
FS-7066 FS-7253 FS-7231 #comment remove TFD_TIMER_ABSTIME as it seems to cause some load issues on some machines
2015-02-18 02:15:34 -06:00
Anthony Minessale
69a7b5fd11
FS-7066 FS-7253 FS-7231 #comment revert some of patch
2015-02-13 20:12:38 -06:00
Anthony Minessale
326289caf9
FS-7083 #resolve #comment this should do it. The problem is linked to side-effects from the read thread being delayed by writing to the file handle. It was so much worse on mp3 because the shout encoder blocks while its churning the data and delays it more. This patch adds a dedicated thread for writing to the file and the channel_variable RECORD_USE_THREAD=false will disable it and sync may still be maintained at the cost of dropping more data from the audio signal.
2014-12-20 00:25:59 -06:00
Jeff Lenk
39fa0b9664
trivial fix for last commit
2014-12-12 10:02:03 -06:00
Jeff Lenk
ea149be9d8
windows force datatype conversion on uint64_t to switch_size_t for recent change. maybe we should change the structure to be uint64_t as well?
2014-12-12 09:40:52 -06:00
Anthony Minessale
4bcf1d888a
use cached time to save cpu
2014-12-08 22:57:22 -06:00
Michael Jerris
62a2e10e41
remove hack breaking some cross compile builds. if you really need this, you should be using new enough glibc anyways
2014-11-19 16:06:42 -05:00
Anthony Minessale
df423b88d6
improve timerfd implementation to be more accurate
2014-11-18 17:14:04 -06:00
Anthony Minessale
878a04715a
revert
2014-11-18 17:00:44 -06:00
Anthony Minessale
da6043f353
improve timerfd implementation to be more accurate
2014-11-18 16:59:58 -06:00
Anthony Minessale
804ef7709d
change from sqlite hash to newly added one
2014-03-09 00:37:17 +05:00
Ken Rice
6e7d5d0897
update copyright header for 2014
2014-02-12 12:08:56 -06:00
Jeff Lenk
bb53175526
FS-6010 --resolve
2013-11-29 22:16:49 -06:00
Seven Du
50857cc82d
fix build on Mac
2013-11-16 09:59:00 +08:00
Anthony Minessale
34ebd6fb59
replace symbol
2013-11-16 03:34:17 +05:00
Anthony Minessale
d6bb35ad3c
add soft timer support for fd per timer use enable-softtimer-timerfd=broadcast in switch.conf.xml for orig behaviour
2013-11-16 01:37:16 +05:00
Ken Rice
7fb4369932
peak sessions step 1
2013-07-20 20:11:46 -05:00
Ken Rice
5660f90509
add peak SPS for last 5 minutes
2013-07-19 22:40:59 -05:00
Anthony Minessale
c510f3f52e
add peak sps to stats and a command to reset it
2013-07-19 15:16:42 -05:00
Nathan Neulinger
32adc789f6
make noexpandtab explicit in all vim modelines other than xml files
2013-06-25 11:50:17 -05:00
Anthony Minessale
fe40523ec0
FS-4646 --resolve thanks for the update
2013-01-22 10:01:52 -06:00
Anthony Minessale
1b258b607b
FS-5010 --resolve
2013-01-10 09:34:11 -06:00
Anthony Minessale
35f98c1350
FS-4841 --resolve we will remove this, it clearly is not helping
2012-11-29 13:02:30 -06:00