[omniORB] Threads in ORB

bjorn rohde jensen shamus@tdcadsl.dk
Mon, 29 Apr 2002 21:19:27 +0200


Hi Jorge,

 It does make sense to worry about thread priorities,
i just do not think, you can rely on the ORB for it.
 I can not help but wonder, if it would not be simpler
to do some sort of hand over of incoming invocations.
Perhaps having your own thread pools with different
priorities hidden behind a facade would be a way to
do this? Servants could just forward requests to the
proper facades.

Yours sincerely,

Bjorn

Ps: curiosity is good:)

jorgefm@cirsa.com wrote:
> 
> Hi Bjorn,
> 
> I was considering the worst scenario when i have to send a prioritary
> notification to a client's thread
> and the connection is busy with a low priority notification to another
> client's thread in the same process.
> 
> If you can create threads with different priority levels, in linux you can,
> it's possible to process one thread
> before another and if every thread has its own connection you can overcome
> the previous situation.
> I'm studying the omniORB to use it in an embedded development and things
> like this are relevant, and
> I know that it's very OS specific but i was a bit curious :-)
> 
> Thanks you,
> Jorge