Module: xenomai-forge
Branch: next
Commit: 70b38a6d8e4a221d7ed18fe75a9bfa54f5a9705f
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=70b38a6d8e4a221d7ed18fe75a9bfa54f5a9705f

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue May 27 09:54:53 2014 +0200

lib/cobalt: drop misnamed and functionally redundant pthread_probe_np()

Use __RT(kill(pid, 0)) instead.

---

 include/cobalt/pthread.h |    2 --
 lib/cobalt/thread.c      |    6 ------
 2 files changed, 8 deletions(-)

diff --git a/include/cobalt/pthread.h b/include/cobalt/pthread.h
index 9021630..1acd23f 100644
--- a/include/cobalt/pthread.h
+++ b/include/cobalt/pthread.h
@@ -155,8 +155,6 @@ int pthread_set_name_np(pthread_t thread,
 
 COBALT_DECL(int, pthread_setname_np(pthread_t thread, const char *name));
 
-int pthread_probe_np(pid_t ptid);
-
 int pthread_create_ex(pthread_t *ptid_r,
                      const pthread_attr_ex_t *attr_ex,
                      void *(*start)(void *),
diff --git a/lib/cobalt/thread.c b/lib/cobalt/thread.c
index dff0178..e8c8961 100644
--- a/lib/cobalt/thread.c
+++ b/lib/cobalt/thread.c
@@ -440,12 +440,6 @@ COBALT_IMPL(int, pthread_setname_np, (pthread_t thread, 
const char *name))
                                  sc_cobalt_thread_set_name, thread, name);
 }
 
-int pthread_probe_np(pid_t tid)
-{
-       return XENOMAI_SKINCALL1(__cobalt_muxid,
-                                sc_cobalt_thread_probe, tid);
-}
-
 int sched_setconfig_np(int cpu, int policy,
                       const union sched_config *config, size_t len)
 {


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to