Hi Wang
Yes, you're right. mosesserver uses the threading model from xmlrpc,
which is either a thread per connection, or single threaded.
cheers - Barry
Quoting Wang Pidong wan...@comp.nus.edu.sg on Fri, 10 Jan 2014
12:40:36 -0800:
Hi all,
Does anyone know whether mosesserver use -threads argument to control the
number of threads?
As we know that mosesserver uses XMLRPC to set up a http server, and I
found that XMLRPC only has two modes about threads: serial (using runOnce
method) or unlimited threads (using run method) from:
http://xmlrpc-c.sourceforge.net/doc/libxmlrpc_server_abyss++.html
I had a look at moseserver.cpp, and I think mosesserver does not use the
-threads to control the number of threads.
Is anyone familiar with this?
Thank you in advance!
Best wishes!
--
Wang Pidong
Department of Computer Science
School of Computing
National University of Singapore
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support