home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Area 51 - Testing Area
TSWriter deadlock potential fix.
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="stevie77" data-source="post: 947159" data-attributes="member: 52674"><p>Hi DJBlu,</p><p>I think i've already tracked down the problem. Tswriter in general is not threadsafe while accessing subchannels. Currently only the selection of subchannels ("GetTschannel") is protected. But this way subchannels may get destroyed while other threads are still acccessing it or before callbacks get resetted.</p><p> </p><p>I've moved the critical section protection ("CAutoLock lock(&m_Lock)") from GetTsChannel to every interface function that uses it and haven't got any deadlocks using my personal version for months now.</p><p> </p><p>I may provide source code and a compiled version of tswriter if someone likes to test.</p></blockquote><p></p>
[QUOTE="stevie77, post: 947159, member: 52674"] Hi DJBlu, I think i've already tracked down the problem. Tswriter in general is not threadsafe while accessing subchannels. Currently only the selection of subchannels ("GetTschannel") is protected. But this way subchannels may get destroyed while other threads are still acccessing it or before callbacks get resetted. I've moved the critical section protection ("CAutoLock lock(&m_Lock)") from GetTsChannel to every interface function that uses it and haven't got any deadlocks using my personal version for months now. I may provide source code and a compiled version of tswriter if someone likes to test. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
TSWriter deadlock potential fix.
Contact us
RSS
Top
Bottom