Print this page
use thread_local for ntoa buf

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/inc/thr_uberdata.h
          +++ new/usr/src/lib/libc/inc/thr_uberdata.h
↓ open down ↓ 675 lines elided ↑ open up ↑
 676  676          siginfo_t       ul_siginfo;     /* deferred siginfo */
 677  677          mutex_t         ul_spinlock;    /* used when suspending/continuing */
 678  678          fpuenv_t        ul_fpuenv;      /* floating point state */
 679  679          uintptr_t       ul_sp;          /* stack pointer when blocked */
 680  680          void            *ul_ex_unwind;  /* address of _ex_unwind() or -1 */
 681  681  #if defined(sparc)
 682  682          void            *ul_unwind_ret; /* used only by _ex_clnup_handler() */
 683  683  #endif
 684  684          tumem_t         ul_tmem;        /* used only by umem */
 685  685          uint_t          ul_ptinherit;   /* pthreads sched inherit value */
 686      -        char            ul_ntoabuf[18]; /* thread-specific inet_ntoa buffer */
 687  686  } ulwp_t;
 688  687  
 689  688  #define ul_cursig       ul_cp.s.cursig          /* deferred signal number */
 690  689  #define ul_pleasestop   ul_cp.s.pleasestop      /* lwp requested to stop */
 691  690  #define ul_curplease    ul_cp.curplease         /* for testing both at once */
 692  691  
 693  692  /*
 694  693   * This is the size of a replacement ulwp, retained only for the benefit
 695  694   * of thr_join().  The trailing members are unneeded for this purpose.
 696  695   */
↓ open down ↓ 852 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX