[mythtv-firehose] mythtv branch devel/mythsocket updated by danielk. v0.26-pre-1337-gdb8e0fa

Git Repo Owner noreply at mythtv.org
Mon Oct 15 15:14:06 UTC 2012


The branch, devel/mythsocket has been updated on the
mythtv repository by gitolite user danielk.
       via  db8e0fa09f904367a84f47f4186bf5334e2be7e0 (commit)
       via  dae00d3fe69fd04e8286a83e03dd7cbab727e4c3 (commit)
      from  0b106b10692ed7efd5eae81b498f591ad39b6222 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit db8e0fa09f904367a84f47f4186bf5334e2be7e0
Author:    Daniel Thor Kristjansson <danielk at cuymedia.net> at Mon, 15 Oct 2012 11:12:26 -0400
Committer: Daniel Thor Kristjansson <danielk at cuymedia.net> at Mon, 15 Oct 2012 11:12:26 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=db8e0fa09f904367a84f47f4186bf5334e2be7e0

MythSocket: Re-enable setReceiveBufferSize() and setAddressReusable()
These were supported as calls in the Qt3 QSocketDevice but are not
yet supported in Qt4's QTcpSocket. Instead I've added some code to
handle this using setsockopt() in the ConnectHandler().



commit dae00d3fe69fd04e8286a83e03dd7cbab727e4c3
Author:    Daniel Thor Kristjansson <danielk at cuymedia.net> at Mon, 15 Oct 2012 10:18:36 -0400
Committer: Daniel Thor Kristjansson <danielk at cuymedia.net> at Mon, 15 Oct 2012 10:18:36 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=dae00d3fe69fd04e8286a83e03dd7cbab727e4c3

Convert m_disableReadyReadCallback and m_dataAvailable to QAtomicInt.
These two variables are updated by two different threads but are not protected by a
mutex so their behaviour is technically undefined unless we use the atomic primatives.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythbase/mythsocket.cpp |   68 +++++++++++++++++++++++--------
 mythtv/libs/libmythbase/mythsocket.h   |   13 ++++--
 2 files changed, 58 insertions(+), 23 deletions(-)

-- 



More information about the mythtv-firehose mailing list