Setting sched. policy & pulse value

Hi!

I have 2 questions:

  1. How can I set a thread sched. policy to RR?
  2. A pulse can carry a 32 bit value. It can be a data with _Uint32t type,
    isn’t it? How can I access to this value from that thread, which receives
    the pulse?

I hope somebody can help me! Shall I get code examples, too?

Thanks!

Eszter