Diff for /libaitsched/src/hooks.c between versions 1.15 and 1.16

version 1.15, 2012/08/23 02:33:12 version 1.16, 2012/09/10 15:07:53
Line 239  sched_hook_thread(void *task, void *arg) Line 239  sched_hook_thread(void *task, void *arg)
   
         sigfillset(&s);          sigfillset(&s);
         pthread_sigmask(SIG_BLOCK, &s, &o);          pthread_sigmask(SIG_BLOCK, &s, &o);
        if (pthread_create(&tid, (pthread_attr_t*) arg,         if ((errno = pthread_create(&tid, (pthread_attr_t*) arg, 
                                (void *(*)(void*)) _sched_threadWrapper, t)) {                                (void *(*)(void*)) _sched_threadWrapper, t))) {
                 LOGERR;                  LOGERR;
                 pthread_sigmask(SIG_SETMASK, &o, NULL);                  pthread_sigmask(SIG_SETMASK, &o, NULL);
                 return (void*) -1;                  return (void*) -1;

Removed from v.1.15  
changed lines
  Added in v.1.16


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