Ignore failures when changing thread scheduling for now
authorDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Wed, 21 Jan 2009 09:06:10 +0000 (09:06 +0000)
committerDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Wed, 21 Jan 2009 09:06:10 +0000 (09:06 +0000)
nptl/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/createthread.c

index 1917152..0bb1b81 100644 (file)
@@ -98,6 +98,9 @@ create_thread (struct pthread *pd, const struct pthread_attr *attr,
             errval = EPERM;
         }
 
+      /* TODO: remove this hack once scheduling works.  */
+      errval = 0;
+
       if (errval == 0 && !(attr->flags & ATTR_FLAG_SUSPENDED))
         {
           errval = INLINE_SYSCALL (lwp_continue, 1, pd->tid);