Re: Is scheduler muffed up?

Marc Lehmann (pcg@opengroup.org)
Wed, 24 Nov 1999 21:55:13 +0100


On Wed, Nov 24, 1999 at 11:03:16AM -0500, "Latham, Steve" <SLatham@acdnj.itt.com> wrote:
> processes do not swap in round robin fashion. The first process to get the
> processor runs to completion. I do confirm that the policy and prioritys are
> in fact set.

How did you do this? (code?)

> Also, when ever I try pthread_create I error with "ANSI C++ forbids implicit
> conversion from void * in arguement passing".

pthread_create is not a C++ function, so such problems can be expected.
However, it should be easy to fix this with a cast. Please send the
offending line and the error message.

> But, I'm following the interface in thread.h. What am I doing wrong?

You should probably use pthread.h, if you mena that. thread.h is not part
of the interface the linux libc offers.

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@opengroup.org |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/