Backed out changeset 0f7f99d0a2f5 (bug 968432) for bustage.
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 18 Feb 2014 09:26:09 -0500
changeset 169655 da33c23066917193a8b54f6d52854bd539a99678
parent 169654 a7f8c25c07acc9bfec0144cae954e67b02c233a7
child 169656 9cb76ac4f7828537b2aedb97b7b6b194ce7c153c
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
bugs968432
milestone30.0a1
backs out0f7f99d0a2f56f0ac3f4c11bc8c636e6e1d4683b
Backed out changeset 0f7f99d0a2f5 (bug 968432) for bustage.
ipc/glue/ProcessUtils_bsd.cpp
ipc/glue/moz.build
deleted file mode 100644
--- a/ipc/glue/ProcessUtils_bsd.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-#include "ProcessUtils.h"
-
-#include <pthread.h>
-
-#if !defined(OS_NETBSD)
-#include <pthread_np.h>
-#endif
-
-namespace mozilla {
-namespace ipc {
-
-void SetThisProcessName(const char *aName)
-{
-#if defined(OS_NETBSD)
-  pthread_setname_np(pthread_self(), "%s", (void *)aName);
-#else
-  pthread_set_name_np(pthread_self(), aName);
-#endif
-}
-
-} // namespace ipc
-} // namespace mozilla
--- a/ipc/glue/moz.build
+++ b/ipc/glue/moz.build
@@ -71,20 +71,16 @@ if CONFIG['OS_TARGET'] == 'Android':
     ]
 else:
     EXPORTS.mozilla.ipc += ['SharedMemoryBasic_chromium.h']
 
 if CONFIG['OS_ARCH'] == 'Linux':
     UNIFIED_SOURCES += [
         'ProcessUtils_linux.cpp',
     ]
-if CONFIG['OS_ARCH'] in ('DragonFly', 'FreeBSD', 'NetBSD', 'OpenBSD'):
-    UNIFIED_SOURCES += [
-        'ProcessUtils_bsd.cpp'
-    ]
 else:
     UNIFIED_SOURCES += [
         'ProcessUtils_none.cpp',
     ]
 
 EXPORTS.ipc += [
     'IPCMessageUtils.h',
 ]