zoukankan      html  css  js  c++  java
  • pthread_t定义结构

    linux下被定义为:

    在linux履行pthread_t它被定义为 "unsigned long int",参考这里


    Windows下这样定义:


        /* 
         * Generic handle type - intended to extend uniqueness beyond 
         * that available with a simple pointer. It should scale for either 
         * IA-32 or IA-64. 
         */  
        typedef struct {  
            void * p;                   /* Pointer to actual object */  
            unsigned int x;             /* Extra information - reuse count etc */  
        } ptw32_handle_t;  
        typedef ptw32_handle_t pthread_t;  



  • 相关阅读:
    lc739
    POJ3280
    6.2
    5.30
    5.28
    5.26
    5.26
    5.25
    从0搭建vue项目
    docker安装jenkins并使用
  • 原文地址:https://www.cnblogs.com/yxwkf/p/4595866.html
Copyright © 2011-2022 走看看