Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-31-2004
level level is offline
Registered User
 
 
Join Date: Feb 2004
Location: China
Posts: 71
How can I run my ice server program in multi-threaded mode

I want to make the multi-threaded server ,that can make some proxys,and all the proxy run in their own self thread,that is ,I want my proxys run parallelly.
I make the example ,but they run in order like block callling in socket.
Attached Files
File Type: zip hello.zip (16.4 KB, 71 views)
Reply With Quote
  #2 (permalink)  
Old 03-31-2004
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,773
Try changing this:
Code:
Ice.ThreadPool.Server.Size=10;
To this:
Code:
Ice.ThreadPool.Server.Size=10
I.e., remove the ";'".
Reply With Quote
  #3 (permalink)  
Old 03-31-2004
level level is offline
Registered User
 
 
Join Date: Feb 2004
Location: China
Posts: 71
Thumbs up

Thank a lot .
Just this.

But I feel "Ice.ThreadPool.Client.Size=10 ;" should equal to
"Ice.ThreadPool.Client.Size=10 ".

I have love ICE more than CORBA.



Reply With Quote
  #4 (permalink)  
Old 03-31-2004
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,773
Well, properties are free-form, so if you do:

Ice.Blah=foo;

Then the value of Ice.Blah is "foo;", and not "foo".
Reply With Quote
  #5 (permalink)  
Old 03-31-2004
level level is offline
Registered User
 
 
Join Date: Feb 2004
Location: China
Posts: 71
I see
Thanks your answer.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can icePHP connect to Ice server by iceGrid Mode? meizhe Help Center 9 06-19-2006 11:48 PM
Can I build client and server in one program? JaneShang Help Center 1 05-12-2005 03:26 AM
Only multi-threaded DLL libraries can be used with Ice! chenhong_sz Bug Reports 4 04-20-2005 04:23 AM
A question about Client and Server program in different host ehero Help Center 1 03-24-2005 04:57 AM
How can I run my ice server program in multi-threaded mode level Help Center 3 03-31-2004 07:13 PM


All times are GMT -4. The time now is 09:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.