USB events thread - failed to set priority

ubuntu + openni + nite,出现 Warning:USB events thread - failed to set priority 


    xn::ImageGenerator imageGen;
    nRetVal = imageGen.Create(context);
    nRetVal = imageGen.SetMapOutputMode(mapMode);

    xn::DepthGenerator depthGen;
    nRetVal = depthGen.Create(context);
    nRetVal = depthGen.SetMapOutputMode(mapMode);


把后面三行代码放到前面,可去掉warning,不知道什么原因/       

    xn::DepthGenerator depthGen;
    nRetVal = depthGen.Create(context);
    nRetVal = depthGen.SetMapOutputMode(mapMode);

    xn::ImageGenerator imageGen;
    nRetVal = imageGen.Create(context);
    nRetVal = imageGen.SetMapOutputMode(mapMode);

posted on 2013-07-01 10:01  wps712  阅读(1504)  评论(0编辑  收藏  举报

导航