[Ace-users] Re: [ciao-users] How to enable multithreading in CIAO

Gan Deng gan.deng at vanderbilt.edu
Thu Aug 16 13:06:43 CDT 2007


Santos,

> Can you tell me how to enable multithread in CIAO? I believe I need to 
> set some flag and recompile it but I didn't find instructions to do that.

CIAO supports RT-CORBA thread pool. Please see

$CIAO_ROOT/docs/schema/ServerResourceUsage.txt
$CIAO_ROOT/examples/Hello/descritpros_RTCCM/

for more information about this. BTW, no recompilation is required to 
enable this.

You can also use thread-per-connection model, just create a service 
configuration file like below and pass it as NodeApplication command 
line option.

static Server_Strategy_Factory "-ORBConcurrency thread-per-connection 
-ORBPOALock thread"

Take care,
Gan



More information about the Ace-users mailing list