You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/10/04 05:15:10 UTC
[trafficserver] branch master updated: Remove unused
mgmt_blockAllSigs.
This is an automated email from the ASF dual-hosted git repository.
jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 2544cc4 Remove unused mgmt_blockAllSigs.
2544cc4 is described below
commit 2544cc4ea5104cd944c3bfc51abd5ac84a29a678
Author: James Peach <jp...@apache.org>
AuthorDate: Mon Oct 3 22:15:05 2016 -0700
Remove unused mgmt_blockAllSigs.
---
mgmt/utils/MgmtUtils.cc | 13 -------------
mgmt/utils/MgmtUtils.h | 2 --
2 files changed, 15 deletions(-)
diff --git a/mgmt/utils/MgmtUtils.cc b/mgmt/utils/MgmtUtils.cc
index ebe1bdf..d0b61b6 100644
--- a/mgmt/utils/MgmtUtils.cc
+++ b/mgmt/utils/MgmtUtils.cc
@@ -209,19 +209,6 @@ mgmt_write_pipe(int fd, char *buf, int bytes_to_write)
}
void
-mgmt_blockAllSigs()
-{
-#if !defined(linux)
- // Start by blocking all signals
- sigset_t allSigs; // Set of all signals
- sigfillset(&allSigs);
- if (ink_thread_sigsetmask(SIG_SETMASK, &allSigs, NULL) < 0) {
- perror("ink_thread_sigsetmask");
- }
-#endif
-}
-
-void
mgmt_log(const char *message_format, ...)
{
va_list ap;
diff --git a/mgmt/utils/MgmtUtils.h b/mgmt/utils/MgmtUtils.h
index e33f5e3..03acab6 100644
--- a/mgmt/utils/MgmtUtils.h
+++ b/mgmt/utils/MgmtUtils.h
@@ -39,8 +39,6 @@
#include "P_RecCore.h"
-void mgmt_blockAllSigs();
-
int mgmt_readline(int fd, char *buf, int maxlen);
int mgmt_writeline(int fd, const char *data, int nbytes);
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].