[BACK]Return to pthread.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libpthread

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libpthread/pthread.c between version 1.58 and 1.59

version 1.58, 2007/01/31 23:55:20 version 1.59, 2007/02/09 23:53:24
Line 191  pthread_init(void)
Line 191  pthread_init(void)
                 pthread__nspins = PTHREAD__NSPINS;                  pthread__nspins = PTHREAD__NSPINS;
         else          else
                 pthread__nspins = 1;                  pthread__nspins = 1;
         i = _lwp_unpark_all(NULL, 0, NULL);          i = (int)_lwp_unpark_all(NULL, 0, NULL);
           if (i == -1)
                   err(1, "_lwp_unpark_all");
         if (i < pthread__unpark_max)          if (i < pthread__unpark_max)
                 pthread__unpark_max = i;                  pthread__unpark_max = i;
 #endif  #endif

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

CVSweb <webmaster@jp.NetBSD.org>