gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/rtmp r9848: add the thread ID to the threa


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r9848: add the thread ID to the thread params data.
Date: Wed, 17 Dec 2008 17:07:18 -0700
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9848
committer: address@hidden
branch nick: rtmp
timestamp: Wed 2008-12-17 17:07:18 -0700
message:
  add the thread ID to the thread params data.
modified:
  libnet/network.cpp
  libnet/network.h
=== modified file 'libnet/network.cpp'
--- a/libnet/network.cpp        2008-12-15 03:44:46 +0000
+++ b/libnet/network.cpp        2008-12-18 00:07:18 +0000
@@ -1146,7 +1146,7 @@
 void
 Network::erasePollFD(int fd)
 {
-//    GNASH_REPORT_FUNCTION;
+    GNASH_REPORT_FUNCTION;
     log_debug("%s: erasing fd #%d from pollfds", __PRETTY_FUNCTION__, fd);
     boost::mutex::scoped_lock lock(_poll_mutex);
     if (_pollfds.size() > 0) {
@@ -1227,7 +1227,7 @@
     while (ret--) {
        for (int i = 0; i<limit; i++) {
            // If we get this event, the other end of the connection has been 
shut down
-#if 1
+#if 0
            if (fds[i].revents &POLLPRI ) {
                log_debug("%s: Revents has a POLLPRI  set 0x%x for fd #%d",
                          __FUNCTION__, fds[i].revents, fds[i].fd);

=== modified file 'libnet/network.h'
--- a/libnet/network.h  2008-12-17 17:28:43 +0000
+++ b/libnet/network.h  2008-12-18 00:07:18 +0000
@@ -94,6 +94,7 @@
        int port;
        void *handler;
        std::string filespec;
+       int tid;
     } thread_params_t;
     typedef boost::uint8_t byte_t;
     typedef bool entry_t (thread_params_t *);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]