[BACK]Return to pthread_cancelstub.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_cancelstub.c between version 1.35.6.2 and 1.36

version 1.35.6.2, 2013/04/29 01:50:18 version 1.36, 2012/04/04 06:29:16
Line 81  __RCSID("$NetBSD$");
Line 81  __RCSID("$NetBSD$");
   
 #include "pthread.h"  #include "pthread.h"
 #include "pthread_int.h"  #include "pthread_int.h"
 #include "reentrant.h"  
   
 int     pthread__cancel_stub_binder;  int     pthread__cancel_stub_binder;
   
Line 129  int ____sigtimedwait50(const sigset_t * 
Line 128  int ____sigtimedwait50(const sigset_t * 
 int     __sigsuspend14(const sigset_t *);  int     __sigsuspend14(const sigset_t *);
   
 #define TESTCANCEL(id)  do {                                            \  #define TESTCANCEL(id)  do {                                            \
         if (__predict_true(!__uselibcstub) &&                           \          if (__predict_false((id)->pt_cancel))                           \
             __predict_false((id)->pt_cancel))                           \  
                 pthread__cancelled();                                   \                  pthread__cancelled();                                   \
         } while (/*CONSTCOND*/0)          } while (/*CONSTCOND*/0)
   

Legend:
Removed from v.1.35.6.2  
changed lines
  Added in v.1.36

CVSweb <webmaster@jp.NetBSD.org>