Diff for /embedaddon/quagga/lib/thread.h between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/10/09 09:22:28 version 1.1.1.3, 2013/07/21 23:54:39
Line 62  struct thread_master Line 62  struct thread_master
   
 typedef unsigned char thread_type;  typedef unsigned char thread_type;
   
   /* ISO C99 maximum function name length is 63 */
   #define FUNCNAME_LEN    64
   
 /* Thread itself. */  /* Thread itself. */
 struct thread  struct thread
 {  {
Line 77  struct thread Line 80  struct thread
     int fd;                     /* file descriptor in case of read/write. */      int fd;                     /* file descriptor in case of read/write. */
     struct timeval sands;       /* rest of time sands value. */      struct timeval sands;       /* rest of time sands value. */
   } u;    } u;
  RUSAGE_T ru;                  /* Indepth usage info.  */  struct timeval real;
   struct cpu_thread_history *hist; /* cache pointer to cpu_history */    struct cpu_thread_history *hist; /* cache pointer to cpu_history */
  char* funcname;  char funcname[FUNCNAME_LEN];
 };  };
   
 struct cpu_thread_history   struct cpu_thread_history 
 {  {
   int (*func)(struct thread *);    int (*func)(struct thread *);
   char *funcname;  
   unsigned int total_calls;    unsigned int total_calls;
   struct time_stats    struct time_stats
   {    {
Line 95  struct cpu_thread_history  Line 97  struct cpu_thread_history 
   struct time_stats cpu;    struct time_stats cpu;
 #endif  #endif
   thread_type types;    thread_type types;
     char funcname[FUNCNAME_LEN];
 };  };
   
 /* Clocks supported by Quagga */  /* Clocks supported by Quagga */

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>