Rename fixup from TNotificationQueue to NotificationQueue.
authorYedidya Feldblum <yfeldblum@fb.com>
Sun, 23 Aug 2015 04:40:49 +0000 (21:40 -0700)
committerfacebook-github-bot-9 <folly-bot@fb.com>
Sun, 23 Aug 2015 05:20:19 +0000 (22:20 -0700)
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

folly/io/async/test/NotificationQueueTest.cpp

index 2bfc13654b41e8241a0418f8b0f17863f5919277..1438ae88f682c91e17b2436f8667e68e78370441 100644 (file)
@@ -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.
  *
  * 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.)
  */
 TEST(NotificationQueueTest, UseAfterFork) {
@@ -631,7 +631,7 @@ TEST(NotificationQueueTest, UseAfterFork) {
   }
 
   // The child process should have crashed when it tried to call putMessage()
-  // on our TNotificationQueue.
+  // on our NotificationQueue.
   EXPECT_TRUE(WIFSIGNALED(childStatus));
   EXPECT_EQ(SIGABRT, WTERMSIG(childStatus));