class Notification

Defined at line 1250 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h

Allows a controller thread to pause execution of newly created

threads until notified. Instances of this class must be created

and destroyed in the controller thread.

This class is only for testing Google Test's own constructs. Do not

use it in user tests, either directly or indirectly.

TODO(b/203539622): Replace unconditionally with absl::Notification.

Public Methods

void Notification ()

Defined at line 1252 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h

void Notification (const Notification & )

Defined at line 1253 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h

Notification & operator= (const Notification & )

Defined at line 1254 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h

void Notify ()

Notifies all threads created with this notification to start. Must

be called from the controller thread.

Defined at line 1258 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h

void WaitForNotification ()

Blocks until the controller thread notifies. Must be called from a test

thread.

Defined at line 1266 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-port.h