Commit graph

83 commits

Author SHA1 Message Date
Erik Zandvliet
2607113727 Library code style update + some minor backports from Pro edition 2018-12-04 13:11:48 +01:00
Thulinma
24006648f9 Cleaned up, fixed and robustified semaphore and signal related code 2018-11-01 16:11:47 +01:00
Thulinma
ff19c9c625 Added sharedFile::exists() call to match version in sharedPage class, fixed sharedPage::exists not being inside SHM_ENABLED block. 2018-08-21 11:23:49 +02:00
Thulinma
5b0e2886ac Fixed compiling in Windows/Cygwin 2018-04-05 21:16:21 +02:00
Thulinma
bea8678df9 Added sharedPage::exists() call 2018-03-20 14:16:18 +01:00
Thulinma
9f9c67b07e Fixed deadlock on sharedClient during shutdown 2017-12-13 10:53:39 +01:00
Thulinma
c69adc26b9 Fixed shared memory master-mode re-opens causing SIGBUS errors in other parts 2017-12-10 18:21:43 +01:00
Thulinma
8ad71cf6ec What... the hell? Why does this...? Oh well. MAC BUILDS FIXED 2017-11-29 16:31:00 +01:00
Thulinma
f4e3087f1a Fixed tryWait semaphore call 2017-11-29 15:04:07 +01:00
Thulinma
a4dc6c3944 Fixed warnings printed by shared file code to be in line with shared memory warnings. 2017-09-27 12:09:02 +02:00
Thulinma
422c839ae2 Fix semaphore segfault when tryWait'ing on invalid semaphore. 2017-05-23 21:36:43 +02:00
Thulinma
eef9303e61 bufferLivePacket improvements for generic Outputs 2017-03-16 17:12:54 +01:00
Thulinma
7f7b35acce Faster reloading of stats pages 2017-01-31 14:43:50 +01:00
Thulinma
b106a1eede sharedServer class speed problem fixed 2017-01-31 14:36:20 +01:00
Thulinma
88834e53ba Fixed statistics recovery after controller reload/restart 2017-01-10 12:33:48 +01:00
Thulinma
5da2c40e00 Semaphore optimize 2016-12-28 16:47:30 +01:00
Thulinma
8f6d75e51e Fixed stats issue for quick switching connections. 2016-10-11 16:36:22 +02:00
Thulinma
bf8ddcb300 Removed dead code 2016-10-11 15:20:13 +02:00
Thulinma
61feff7ba1 Faster and less spammy sharedServer user counter 2016-10-11 15:15:26 +02:00
Thulinma
80bd99de44 Added statExchange getPID function 2016-09-22 09:42:43 +02:00
Thulinma
cdab043a4b Added sharedServer abandon() function, changed sharedServer.myPages container from set to deque 2016-09-22 09:12:27 +02:00
Thulinma
4472d00e69 Improved sharedClient isAlive handling 2016-09-15 16:03:24 +02:00
Thulinma
a4f35ca11e Made sharedServer::finishEach explicit 2016-09-15 15:45:42 +02:00
Thulinma
4dc3d22d12 Fixed potential deadlock in buffer when a past crash has happened 2016-07-28 20:44:28 +02:00
Thulinma
4cef8d7cf5 Small fixes for VoD and DTSC pull input 2016-07-23 22:55:35 +02:00
Thulinma
f53882a822 Fixed Windows slow load bug. 2016-06-25 10:40:09 +02:00
Thulinma
4c9c6fa7ba Backported various little edits from Pro edition. 2016-06-02 14:07:21 +02:00
Thulinma
0d9108d1d6 Backported Pro shared_memory edits to OS edition 2016-02-15 14:42:19 +01:00
Thulinma
401fe65979 - Made HLS no longer skip first fragment.
- Ignore metadata tracks and invalid tracks for buffer calculations.
- Fixed statistics.
2015-12-25 14:37:32 +01:00
Thulinma
23800d6cbb Fixed shared memory issues under Windows, by Erik Zandvliet. 2015-11-28 16:06:26 +01:00
Thulinma
8e94528d6f Improved signal and UDP bind debugging information, decreased verbosity of windows SHM errors. 2015-11-24 15:57:17 +01:00
Thulinma
b28a619fc6 Various fixes and improvements, backported from Pro version. Code by Erik Zandvliet. 2015-11-05 17:05:21 +01:00
Thulinma
16d38459b6 Made JSON library non-recursive.
Co-authored with Diederick.
2015-10-06 13:21:14 +02:00
Thulinma
2fb1459dff Fixed Windows compile. 2015-08-28 22:17:29 +02:00
Thulinma
71dc32d2d3 Added ability to break through semaphore locks to the controller monitoring thread. 2015-08-28 21:56:27 +02:00
Thulinma
b93841f659 Fixed NOSHM and WITH_THREADNAMES flags, added NOCRASHCHECK flag. 2015-07-01 16:59:26 +02:00
Thulinma
a891b5ba41 Fixed Windows typo. 2015-04-16 16:10:34 +02:00
Thulinma
e672959f96 Fixes to Windows shared memory handling for VoD. 2015-04-16 15:59:25 +02:00
Thulinma
f20f1607c6 More debugging. 2015-04-16 15:01:41 +02:00
Thulinma
a556d6032d Added insane-level debug message for opening of all shared memory pages. 2015-04-16 14:21:07 +02:00
Thulinma
2808595d7b Changed Windows shared memory back to non-global. 2015-04-16 14:07:04 +02:00
Thulinma
e105569b06 More changes to Windows support. 2015-04-16 13:21:30 +02:00
Thulinma
d120523bbb Improvements to connector shutdown code, attempted fix for Windows support. 2015-04-16 13:18:52 +02:00
Thulinma
243a05c8af Removed unused code from procs library, updated and simplified connector handler in controller. 2015-04-16 12:23:03 +02:00
Thulinma
8d377602be Changed windows shm functions to ANSI equivalents. 2015-04-13 16:58:30 +02:00
Erik Zandvliet
9b6312ca01 Switch to CMake 2015-04-02 09:55:33 +02:00
Thulinma
cfc6d9d6d3 Increased stream name length to 100 bytes 2015-03-13 00:52:21 +01:00
Thulinma
6a6a8915d2 Merged in TS fixes/unification (and other small changes) by Wouter Spruit 2015-03-05 12:13:23 +01:00
Thulinma
bd012b3b35 Fixed unneeded 1s wait for all requests. 2015-03-05 11:39:46 +01:00
Thulinma
5fa57f1c22 Tweaks to shared server process monitoring verbosity and ferocity. 2015-03-05 00:34:29 +01:00