summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys
Commit message (Collapse)AuthorAgeFilesLines
* Minor cluster optimizations.Alan Conway2009-07-141-106/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793917 13f79535-47bb-0310-9956-ffa450edef68
* Add directory to #includeAlan Conway2009-07-1472-102/+102
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793909 13f79535-47bb-0310-9956-ffa450edef68
* Reapplied r793120Gordon Sim2009-07-142-3/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793832 13f79535-47bb-0310-9956-ffa450edef68
* Reapplied r793119Gordon Sim2009-07-142-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793819 13f79535-47bb-0310-9956-ffa450edef68
* Reverted checkins 793119, 793120, 793121, 793122 because of problems with ↵Kim van der Riet2009-07-133-14/+7
| | | | | | heartbeats and the store tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793602 13f79535-47bb-0310-9956-ffa450edef68
* Allow TimerTasks to be delayed correctly by separating out the timeAndrew Stitcher2009-07-102-3/+10
| | | | | | | used to sort in the priority queue and the firing time git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793120 13f79535-47bb-0310-9956-ffa450edef68
* Typos/Whitespace fixesAndrew Stitcher2009-07-102-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793119 13f79535-47bb-0310-9956-ffa450edef68
* Simplified PollableConditionAlan Conway2009-07-094-121/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792676 13f79535-47bb-0310-9956-ffa450edef68
* Properly handle queued closes originating locally. Fixes QPID-1952Stephen D. Huston2009-07-071-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@791997 13f79535-47bb-0310-9956-ffa450edef68
* Prevent broker thread blocking while SSL handshake completes.Gordon Sim2009-07-011-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790291 13f79535-47bb-0310-9956-ffa450edef68
* Fix for issue where a broker with single io thread can get stuck if itAndrew Stitcher2009-06-231-0/+1
| | | | | | | runs out of file handles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787815 13f79535-47bb-0310-9956-ffa450edef68
* Add blocking to sys::Timer so that timer callback and cancelAndrew Stitcher2009-06-232-2/+13
| | | | | | | can't happen interleaved git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787813 13f79535-47bb-0310-9956-ffa450edef68
* Don't schedule eof() in response to traffic timeout if alreadyAndrew Stitcher2009-06-231-2/+8
| | | | | | | | disconnecting and make sure that this is true for all close down paths git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787810 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile errorStephen D. Huston2009-06-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787422 13f79535-47bb-0310-9956-ffa450edef68
* Add missing include required on some platforms.Gordon Sim2009-06-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785964 13f79535-47bb-0310-9956-ffa450edef68
* Don't throw exception from destructor in Mutex and Condition as this is ↵Gordon Sim2009-06-173-3/+5
| | | | | | unsafe and unhelpful. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785757 13f79535-47bb-0310-9956-ffa450edef68
* Performance improvements in AggregateOutput and SemanticState.Alan Conway2009-06-162-53/+80
| | | | | | | | | | | | | | Replaced AggregateOutput hierarchy with a flat list per connection holding only the OutputTasks that are potentially active. Tasks are droped from the list as soon as they return false, and added back when they may have output. Inlined frequently-used SequenceNumber functions. Replace std::list in QueueListeners with std::vector. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785408 13f79535-47bb-0310-9956-ffa450edef68
* Avoid the case where we can receive bytes from the socketAndrew Stitcher2009-06-111-0/+1
| | | | | | | after the heartbeat timer has disconnected it git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783792 13f79535-47bb-0310-9956-ffa450edef68
* Plumbed in an a connection abort operation to the OutputHandlerAndrew Stitcher2009-06-089-44/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782649 13f79535-47bb-0310-9956-ffa450edef68
* Stop watching the acceptors dispatch handle before it is deleted in ssl and ↵Gordon Sim2009-06-034-1/+12
| | | | | | rdma plugins. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781332 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes to QPID-1879 so that clustering still works:Andrew Stitcher2009-06-011-2/+3
| | | | | | | | | Change client io threading to be initialised at first use Stop linking loadable modules with tests Add some sentinel values so that we can see what happened last git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1819: ensure that security layer implementation can cope with the case ↵Gordon Sim2009-06-012-5/+14
| | | | | | where the max allowed input to cyrus sal routines isless than the max frame size in use. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780719 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to get qpid to build with gcc4.4 with optimisationAndrew Stitcher2009-05-281-4/+10
| | | | | | | Fix for non thread safe use of inet_ntoa(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779757 13f79535-47bb-0310-9956-ffa450edef68
* Whitespace fixesAndrew Stitcher2009-05-283-90/+90
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779446 13f79535-47bb-0310-9956-ffa450edef68
* [Linux] Small tidy up of SystemInfo code to get executable nameAndrew Stitcher2009-05-261-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778892 13f79535-47bb-0310-9956-ffa450edef68
* PollableQueue optimization - replace deque with vector.Alan Conway2009-05-251-10/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778464 13f79535-47bb-0310-9956-ffa450edef68
* Instrumentation for measuring latencies.Alan Conway2009-05-191-53/+106
| | | | | | | Compiled out of normal builds, enable with -DQPID_LATENCY_TRACKER. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@776463 13f79535-47bb-0310-9956-ffa450edef68
* Fix includes to allow for alternative packaging for nspr/nss.Gordon Sim2009-05-184-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@775985 13f79535-47bb-0310-9956-ffa450edef68
* Fix typoAndrew Stitcher2009-05-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774069 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1852 Removed thread unsafe code in LoggerAndrew Stitcher2009-05-124-17/+36
| | | | | | | Fixed some potentially iffy code in Connector.h if a derived Connector doesn't have activateSecurityLayer() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774051 13f79535-47bb-0310-9956-ffa450edef68
* Add --quit, --check for Windows; required fixing LockFile for WindowsStephen D. Huston2009-05-112-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773712 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a minor typoTed Ross2009-05-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773068 13f79535-47bb-0310-9956-ffa450edef68
* Hack around the namespace pollution in QPID-1737Andrew Stitcher2009-05-054-5/+8
| | | | | | | | Hack around simultaneous import and definition of ManagementAgent::Singleton in qpidbroker Make ACL plugin optional (default off on Windows currently) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771989 13f79535-47bb-0310-9956-ffa450edef68
* Add portability support for QMF agent, thanks to Pete McKinnon - partially ↵Stephen D. Huston2009-05-043-0/+180
| | | | | | fixes QPID-1731 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771457 13f79535-47bb-0310-9956-ffa450edef68
* LatenchTracker: a tool for measuring latencies.Alan Conway2009-05-041-0/+104
| | | | | | | Added measurement points to cluster code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771392 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the DispatchHandle/Poller code to remove a long standingAndrew Stitcher2009-05-048-355/+272
| | | | | | | | | | | | | | set of race conditions. - Changed Poller naming for better clarity with new semantics. - Changed Poller semantics to avoid DispatchHandle keeping so much state - Changed Poller so that it will never re-enable a Handle until Poller::wait is called again on the same thread that returned the Handle. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771338 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up some un-necessary #include dependencies.Alan Conway2009-04-152-159/+0
| | | | | | | Removed un-used LatencyMetric hack. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765285 13f79535-47bb-0310-9956-ffa450edef68
* Need to see toFd from tests; related to QPID-1765Stephen D. Huston2009-03-271-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@759311 13f79535-47bb-0310-9956-ffa450edef68
* Remove unneeded size_t typedef; fixes QPID-1745Stephen D. Huston2009-03-171-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755443 13f79535-47bb-0310-9956-ffa450edef68
* Correct the handling of end-of-connection cases; fixes QPID-1550Stephen D. Huston2009-03-171-12/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755441 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to the Solaris ECFPoller: Extra trace logging and a misplaced eventManuel Teira Paz2009-03-171-4/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755159 13f79535-47bb-0310-9956-ffa450edef68
* Changes to build DLLs instead of static libs on Windows; primarily added ↵Stephen D. Huston2009-03-1218-128/+181
| | | | | | decorators to exported names. Fixes QPID-1673 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@753014 13f79535-47bb-0310-9956-ffa450edef68
* Remove race condition in low level IO when throttling inputAndrew Stitcher2009-03-111-5/+7
| | | | | | | to avoid overloading the clustering service git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752560 13f79535-47bb-0310-9956-ffa450edef68
* Changes in Solaris ECF based poller, to meet the new Poller architectureManuel Teira Paz2009-03-101-51/+183
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752174 13f79535-47bb-0310-9956-ffa450edef68
* qpid/sys/solaris/SystemInfo.cppManuel Teira Paz2009-03-101-2/+21
| | | | | | | - Add a processName() solaris implementation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752015 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1722 Replace use of non thread safe gethostbyname()Andrew Stitcher2009-03-091-16/+21
| | | | | | | with more useful getaddrinfo() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751844 13f79535-47bb-0310-9956-ffa450edef68
* Add a pair of missing std:: namespacesManuel Teira Paz2009-03-052-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750487 13f79535-47bb-0310-9956-ffa450edef68
* Implement a solaris qpid::sys::SystemInfoManuel Teira Paz2009-03-051-0/+104
| | | | | | | Choose implementation based on SUNOS definition git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750486 13f79535-47bb-0310-9956-ffa450edef68
* Remove the argument type in the boost::function template sinceManuel Teira Paz2009-03-051-1/+1
| | | | | | | it's no needed and hurts the Sun compiler git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750485 13f79535-47bb-0310-9956-ffa450edef68
* Define the QPID_TSS macro for the Sun Studio CompilersManuel Teira Paz2009-03-051-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750483 13f79535-47bb-0310-9956-ffa450edef68