[Moses-support] Moses cross compile for win32 and win64

2011-04-28 Thread Ales Hribar
Hi all, I have ported moses, srilm and irstlm to win32 and win x64 through cross-compiler on linux. I would like to share my code with others and i would not like to fork the project. The problem is, I did not make changes in IFDEF and automake/autoconf manner. I did make changes to Makefiles and

Re: [Moses-support] Moses cross compile for win32 and win64

2011-04-28 Thread Hieu Hoang
hey ales that sounds good. email me offline about your changes and i'll see how i can help you put it into the trunk. Perhaps send me the patches also so i have some idea of how much work is involved On 28/04/2011 14:50, Ales Hribar wrote: Hi all, I have ported moses, srilm and irstlm to

[Moses-support] (2011-04-27) Questions in ThreadPool.cpp

2011-04-28 Thread Fong Po Po
Dear: in https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk/moses/src/ I have read C++ file ThreadPool.cpp but I don't understand these following scripts: void Moses::ThreadPool::Execute()    line 41  boost::mutex::scoped_lock lock(m_mutex);   ( what does this line mean?)   

Re: [Moses-support] (2011-04-27) Questions in ThreadPool.cpp

2011-04-28 Thread Bill_Lang(Gmail)
Hi Fong Po Po, These lines are thread locking and waiting process. They are used for controlling the running order and resource of multi-threads. You can view some simple introduction of multi-thread programming. Best Regards, Lang Jun 2011/4/29 Fong Po Po fongpui...@yahoo.com.hk Dear: