trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject git commit: Revert "cleanup ink_thread.h for TS-1698"
Date Sat, 09 Feb 2013 11:37:12 GMT
Updated Branches:
  refs/heads/master 6412619dc -> 012df5298


Revert "cleanup ink_thread.h for TS-1698"

This reverts commit 26c408071d6a559bfb30da8a67854a4e888cfb71.

thanks for jpeach for pointing out that this is rather silly.
If we really want to handle these cases, we need to check them
with autoconf.


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

Branch: refs/heads/master
Commit: 012df52981084d3cd82d1e8aa87074683dd22594
Parents: 6412619
Author: Igor Galić <i.galic@brainsware.org>
Authored: Sat Feb 9 12:36:10 2013 +0100
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Sat Feb 9 12:36:10 2013 +0100

----------------------------------------------------------------------
 lib/ts/ink_thread.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/012df529/lib/ts/ink_thread.h
----------------------------------------------------------------------
diff --git a/lib/ts/ink_thread.h b/lib/ts/ink_thread.h
index efa3ed9..b93dec3 100644
--- a/lib/ts/ink_thread.h
+++ b/lib/ts/ink_thread.h
@@ -132,7 +132,7 @@ ink_thread_create(void *(*f) (void *), void *a, int detached = 0, size_t
stacksi
 static inline void
 ink_thread_cancel(ink_thread who)
 {
-#if !defined(pthread_cancel)
+#if defined(freebsd)
   (void) who;
   ink_assert(!"not supported");
 #else
@@ -158,7 +158,7 @@ ink_thread_self()
 static inline int
 ink_thread_get_priority(ink_thread t, int *priority)
 {
-#if !defined(pthread_getschedparam)
+#if defined(freebsd)
   (void) t;
   (void) priority;
   ink_assert(!"not supported");


Mime
View raw message