[omniORB] Thread Priorities

Brian Neal bgneal at gmail.com
Wed Mar 8 15:45:20 GMT 2006


On 3/8/06, Duncan Grisby <duncan at grisby.org> wrote:
>
> What I suggest you do is to make an omniORB thread interceptor (see
> chapter 10 of the omniORB manual) that sets the priority you want with
> direct pthread calls.
>

Duncan, thanks...this sounds like a very good solution for me.

I'm just curious though...it says in the docs you are supposed to call
getInterceptors() after ORB_init. That makes sense to me if you have
to set up the whole interceptor facility then. But doesn't omniORB
create a bunch of threads during ORB_init() and then it is too late to
intercept their creation? Or does omniORB wait until someone actually
tries to use the ORB before creating the threads? I would have guessed
thread creation happens during orb->run(), but I read on this list
that you don't even need to call orb->run() under omniORB.

Thanks,
BN



More information about the omniORB-list mailing list