(self)
Set the event and wake up all waiting threads.
Set the event and wake up all waiting threads.
Set the event and wake up all waiting threads .
def set(self) -> None:
        """Set the event and wake up all waiting threads."""
        with self.lock:
            self.is_set = True
            redis_connection.publish(self.name, "")
def set ( self ) -> None : with self . lock : self . is_set = True redis_connection . publish ( self . name , "" )