派生自 development/c++

pans
2019-03-30 25928e3093a7c0257128192d7785ec3f74e89e81
QiaoJiaSystem/FaceDetectServer/main.cpp
@@ -29,8 +29,8 @@
    int threadMax = atol(ich->getProperties()->getProperty("user.thread.max").c_str());
#endif
    ich->getProperties()->setProperty("Ice.ThreadPool.Server.SizeMax",to_string(threadMax));
    appPref.setLongData("gpu.index",atol(gpuIndex.c_str()));
    appPref.setLongData("thread.max", threadMax);
    appPref.setIntData("gpu.index",atol(gpuIndex.c_str()));
    appPref.setIntData("thread.max", threadMax);
    auto adapter =  ich->createObjectAdapter(adapterName);
    adapter->add(new FaceDetectServerI(), Ice::stringToIdentity(identity));