JThread vs PThread

楚 留香 <[email protected]> Sat, 18 Nov 2006 00:21:28 +0800
Newsgroups gmane.comp.lib.jtc,gmane.comp.corba.orbacus
Message-ID <[email protected]>
Hi!
    In my program, I use DSI through which c++ client calls c++ server.=20
    In the server side, I use the orb initialization parameter=20
OAthread_per_request. Other than orbacus's JThread, my program also has=20
some pthreads to process some tasks.
    After testing for some hours, I find that the performance of pthread=20
declines  obviously when the client begin to call the server. The request=
s=20
from the client all are processed on time even if I send more and more=20
message, while pthread slows down greately.
    It looks like that JThread can get more chance of CPU execution then=20
pthread. I want to know the actual cause. Thanks!

regards
William

_________________________________________________________________
=CF=ED=D3=C3=CA=C0=BD=E7=C9=CF=D7=EE=B4=F3=B5=C4=B5=E7=D7=D3=D3=CA=BC=FE=CF=
=B5=CD=B3=A1=AA MSN Hotmail=A1=A3  http://www.hotmail.com =20

_______________________________________________
JTC-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/jtc-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html