Machine-translated by Google. Questions are authored in English.
Top

Discussion

A task waiting on an event group with the wait-for-all option set will run when

  • A.any bit outside the requested set is set
  • B.every requested bit has been set
  • C.the first of the requested bits is set
  • D.all the bits in the group have been cleared

Answer: B

Correct answer: every requested bit has been set

With the wait-for-all option the task remains blocked until each bit named in its request has been set, in any order and at any time. With the wait-for-any option the first of them releases it. Bits outside the requested set are ignored either way.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.