summaryrefslogtreecommitdiff
path: root/cpp/managementgen/qmfgen/generate.py
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2008-11-21 16:32:53 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2008-11-21 16:32:53 +0000
commitda89c7fe7cb06c3bb8c514fd31af353f3c53c978 (patch)
tree550b5fc7d67aa6dd91486ded53312fbd95d27029 /cpp/managementgen/qmfgen/generate.py
parented96b4f0058927f0c9c2dada5b506d32390cf0ab (diff)
downloadqpid-python-da89c7fe7cb06c3bb8c514fd31af353f3c53c978.tar.gz
This is related to QPID-1479.
For starters I have changed the IoSender.java IoReceiver.java and AMQSession.java#Dispatcher to use the Thread factory to create the threads they require. The ThreadFactory has two implimentations, the default being the java.lang.Threads. The other is the RealtimeThreadFactory which uses reflection to create threads with a specific priority. -Dqpid.thread_factory=<thread_factory_class> will decide which thread factory should be loaded. -Dqpid.rt_thread_priority=<int> specifies the gloabl real time thread priority and defaults to 20. You could also set individual thread priorities by adding the nessacery config+code changes. I have also changed the Testkit and QpidBench to use the Thread factory so you could use them for testing/benchmarking work on RT JVMs. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719628 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/managementgen/qmfgen/generate.py')
0 files changed, 0 insertions, 0 deletions