Notify

Verb · Development

Definitions

  1. A synchronization primitive operation that signals one or more waiting threads or coroutines that a condition they are interested in has changed, typically used with condition variables, monitors, or event objects to coordinate concurrent work without busy-waiting.

    In plain English: A signal that tells a waiting part of a program 'hey, the thing you were waiting for is ready now.'

    Example: "The producer pushes an item onto the queue and calls notify so a sleeping consumer thread wakes up to process it."

Related Terms