trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject git commit: Moving forward we're dropping Solaris Studio
Date Tue, 19 Feb 2013 14:42:01 GMT
Updated Branches:
  refs/heads/master 55dd89d4d -> 098b2f270


Moving forward we're dropping Solaris Studio

This is the right enough fix for Solaris ("u" for FMT)
For consistency sake, we also replace pthread_t with ink_thread_t


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/098b2f27
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/098b2f27
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/098b2f27

Branch: refs/heads/master
Commit: 098b2f27081104da0c4e30a64e59c51fbe0bddfe
Parents: 55dd89d
Author: Igor Galić <i.galic@brainsware.org>
Authored: Tue Feb 19 15:33:48 2013 +0100
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Tue Feb 19 15:33:48 2013 +0100

----------------------------------------------------------------------
 iocore/eventsystem/UnixEventProcessor.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/098b2f27/iocore/eventsystem/UnixEventProcessor.cc
----------------------------------------------------------------------
diff --git a/iocore/eventsystem/UnixEventProcessor.cc b/iocore/eventsystem/UnixEventProcessor.cc
index 5113353..8a57195 100644
--- a/iocore/eventsystem/UnixEventProcessor.cc
+++ b/iocore/eventsystem/UnixEventProcessor.cc
@@ -54,7 +54,7 @@ typedef cpuset_t ink_cpuset_t;
 #if HAVE_SYS_PSET_H
 #include <sys/pset.h>
 typedef psetid_t ink_cpuset_t;
-#define PTR_FMT PRIuPTR
+#define PTR_FMT "u"
 #endif
 
 #if HAVE_SYS_TYPES_H
@@ -79,7 +79,7 @@ set_cpu(ink_cpuset_t *cpuset, int cpu)
 
 
 static bool
-bind_cpu(ink_cpuset_t *cpuset, pthread_t tid)
+bind_cpu(ink_cpuset_t *cpuset, ink_thread tid)
 {
   if ( 0 != 
 #if !defined(solaris)


Mime
View raw message