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

Discussion

An event group or flag set allows a task to wait for

  • A.any or all of several distinct events
  • B.a single event, exactly as a semaphore does
  • C.a message carrying up to four bytes of data
  • D.the completion of another named task

Answer: A

Correct answer: any or all of several distinct events

An event group is a set of bits with a single wait operation, so a task can block until any of several conditions occurs or until all of them have. A semaphore signals one thing, and building the same behaviour from several semaphores requires either several tasks or a polling loop.

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

Post your comment

Please log in or register to post a comment.