Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2013 19:47:32 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249425 - head/lib/libthr/thread
Message-ID:  <201304121947.r3CJlW1Q029580@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Fri Apr 12 19:47:32 2013
New Revision: 249425
URL: http://svnweb.freebsd.org/changeset/base/249425

Log:
  libthr: Remove _thr_rtld_fini(), unused since r245630.

Modified:
  head/lib/libthr/thread/thr_private.h
  head/lib/libthr/thread/thr_rtld.c

Modified: head/lib/libthr/thread/thr_private.h
==============================================================================
--- head/lib/libthr/thread/thr_private.h	Fri Apr 12 19:36:53 2013	(r249424)
+++ head/lib/libthr/thread/thr_private.h	Fri Apr 12 19:47:32 2013	(r249425)
@@ -746,7 +746,6 @@ void	_thr_ref_delete(struct pthread *, s
 void	_thr_ref_delete_unlocked(struct pthread *, struct pthread *) __hidden;
 int	_thr_find_thread(struct pthread *, struct pthread *, int) __hidden;
 void	_thr_rtld_init(void) __hidden;
-void	_thr_rtld_fini(void) __hidden;
 void	_thr_rtld_postfork_child(void) __hidden;
 int	_thr_stack_alloc(struct pthread_attr *) __hidden;
 void	_thr_stack_free(struct pthread_attr *) __hidden;

Modified: head/lib/libthr/thread/thr_rtld.c
==============================================================================
--- head/lib/libthr/thread/thr_rtld.c	Fri Apr 12 19:36:53 2013	(r249424)
+++ head/lib/libthr/thread/thr_rtld.c	Fri Apr 12 19:47:32 2013	(r249425)
@@ -213,14 +213,3 @@ _thr_rtld_init(void)
 	_rtld_thread_init(&li);
 	_thr_signal_unblock(curthread);
 }
-
-void
-_thr_rtld_fini(void)
-{
-	struct pthread	*curthread;
-
-	curthread = _get_curthread();
-	_thr_signal_block(curthread);
-	_rtld_thread_init(NULL);
-	_thr_signal_unblock(curthread);
-}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304121947.r3CJlW1Q029580>