资源简介


资源截图

代码片段和文件信息


//#include “OsLib.h“
#include “core.h“
#include “socket.h“
#include 
#include 
#include 

/******************************************************************
   创建任务
       参数:
          StartFunction:任务执行的主函数
          ThreadParameter:传递给任务函数的参数
******************************************************************/
void OsCreateThread(THREAD_FUNC threadFunc void * threadParameter)
{
#ifdef _WIN32_
    CreateThread(0 0 (LPTHREAD_START_ROUTINE)threadFunc threadParameter 0 0);
#endif

#ifdef _LINUX_
    pthread_t hTask;
    sched_param tSchParam;
    pthread_attr_t tThreadAttr;
    int nSchPolicy;
    
    pthread_attr_init(&tThreadAttr);

    // 设置调度策略
    pthread_attr_getschedpolicy(&tThreadAttr &nSchPolicy);
    nSchPolicy = SCHED_OTHER;
    pthread_attr_setschedpolicy(&tThreadAttr nSchPolicy);

    // 设置优先级
    pthread_attr_getschedparam(&tThreadAttr &tSchParam);
    tSchParam.sched_priority = 120;
    pthread_at

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-07-03 16:53  7.标签位置数据xml解析\
     目录           0  2019-07-03 16:53  7.标签位置数据xml解析\源码\
     目录           0  2019-07-03 15:04  7.标签位置数据xml解析\源码\locatorxmlReceiver\
     目录           0  2019-07-01 09:22  7.标签位置数据xml解析\源码\locatorxmlReceiver\ipch\
     目录           0  2019-07-01 09:22  7.标签位置数据xml解析\源码\locatorxmlReceiver\ipch\locatorxmlreceiver-679fe293\
     文件    21168128  2019-07-01 14:37  7.标签位置数据xml解析\源码\locatorxmlReceiver\ipch\locatorxmlreceiver-679fe293\xml位置接收器v1.ipch
     目录           0  2019-07-01 09:46  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\
     文件    30756864  2019-07-01 17:45  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver.sdf
     文件         921  2019-03-22 09:53  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver.sln
     文件       26624  2019-07-01 17:45  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver.suo
     目录           0  2019-04-03 09:53  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\lib\
     文件       10334  2019-03-02 20:11  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\lib\mxml.h
     文件      261132  2019-04-03 09:57  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\lib\mxml1.lib
     文件       46124  2019-07-01 09:46  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\locatorxmlReceiver.aps
     文件        6134  2019-07-01 09:46  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\locatorxmlReceiver.rc
     文件        5466  2019-04-03 09:53  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\locatorxmlReceiver.vcxproj
     文件        2739  2019-04-03 09:53  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\locatorxmlReceiver.vcxproj.filters
     文件         143  2019-03-22 09:53  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\locatorxmlReceiver.vcxproj.user
     目录           0  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\
     文件        5320  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\cl.command.1.tlog
     文件       92868  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\CL.read.1.tlog
     文件        4034  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\CL.write.1.tlog
     文件      541612  2019-07-01 15:16  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\core.obj
     文件           2  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\link-cvtres.read.1.tlog
     文件           2  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\link-cvtres.write.1.tlog
     文件        2880  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\link.command.1.tlog
     文件        5400  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\link.read.1.tlog
     文件        1726  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\link.write.1.tlog
     文件         851  2019-03-27 16:54  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\locatorxmlReceiver.Build.CppClean.log
     文件          72  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\locatorxmlReceiver.lastbuildstate
     文件        2769  2019-07-01 15:19  7.标签位置数据xml解析\源码\locatorxmlReceiver\locatorxmlReceiver\Release\locatorxmlReceiver.log
............此处省略43个文件信息

评论

共有 条评论