Commit 88bee22f authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by facebook-github-bot-9

Rename fixup from TNotificationQueue to NotificationQueue.

Summary: [Folly] Rename fixup from TNotificationQueue to NotificationQueue.

    hg locate 'folly/**/*.{h,cpp}' | xargs perl -pi -e 's/TNotificationQueue/NotificationQueue/g'

Reviewed By: @haijunz

Differential Revision: D2373334
parent 74a1c035
...@@ -572,11 +572,11 @@ TEST(NotificationQueueTest, DestroyCallbackPipe) { ...@@ -572,11 +572,11 @@ TEST(NotificationQueueTest, DestroyCallbackPipe) {
} }
/* /*
* Test code that creates a TNotificationQueue, then forks, and incorrectly * Test code that creates a NotificationQueue, then forks, and incorrectly
* tries to send a message to the queue from the child process. * tries to send a message to the queue from the child process.
* *
* The child process should crash in this scenario, since the child code has a * The child process should crash in this scenario, since the child code has a
* bug. (Older versions of TNotificationQueue didn't catch this in the child, * bug. (Older versions of NotificationQueue didn't catch this in the child,
* resulting in a crash in the parent process.) * resulting in a crash in the parent process.)
*/ */
TEST(NotificationQueueTest, UseAfterFork) { TEST(NotificationQueueTest, UseAfterFork) {
...@@ -631,7 +631,7 @@ TEST(NotificationQueueTest, UseAfterFork) { ...@@ -631,7 +631,7 @@ TEST(NotificationQueueTest, UseAfterFork) {
} }
// The child process should have crashed when it tried to call putMessage() // The child process should have crashed when it tried to call putMessage()
// on our TNotificationQueue. // on our NotificationQueue.
EXPECT_TRUE(WIFSIGNALED(childStatus)); EXPECT_TRUE(WIFSIGNALED(childStatus));
EXPECT_EQ(SIGABRT, WTERMSIG(childStatus)); EXPECT_EQ(SIGABRT, WTERMSIG(childStatus));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment