summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/manager.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-03 18:55:00 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-03 18:55:00 +0000
commit36860e64dbe0a6d294ec3b1430e7926ea0ed2fd5 (patch)
treeeb735d028db1812ed6da4a08030327ef89838c9a /libpthread/linuxthreads.old/manager.c
parent48f4134968efb0bc31dad98e4f1bb4656eb1d817 (diff)
remove duplicated/unused ASSERT code
Diffstat (limited to 'libpthread/linuxthreads.old/manager.c')
-rw-r--r--libpthread/linuxthreads.old/manager.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libpthread/linuxthreads.old/manager.c b/libpthread/linuxthreads.old/manager.c
index e57080d17..dbbee3f6f 100644
--- a/libpthread/linuxthreads.old/manager.c
+++ b/libpthread/linuxthreads.old/manager.c
@@ -148,7 +148,6 @@ int attribute_noreturn __pthread_manager(void *arg)
/* Synchronize debugging of the thread manager */
n = TEMP_FAILURE_RETRY(__libc_read(reqfd, (char *)&request,
sizeof(request)));
- ASSERT(n == sizeof(request) && request.req_kind == REQ_DEBUG);
#ifndef USE_SELECT
ufd.fd = reqfd;
ufd.events = POLLIN;
@@ -187,7 +186,6 @@ int attribute_noreturn __pthread_manager(void *arg)
PDEBUG("before __libc_read\n");
n = __libc_read(reqfd, (char *)&request, sizeof(request));
PDEBUG("after __libc_read, n=%d\n", n);
- ASSERT(n == sizeof(request));
switch(request.req_kind) {
case REQ_CREATE:
PDEBUG("got REQ_CREATE\n");
@@ -698,7 +696,6 @@ static void pthread_free(pthread_descr th)
pthread_readlock_info *iter, *next;
char *h_bottom_save;
- ASSERT(th->p_exited);
/* Make the handle invalid */
handle = thread_handle(th->p_tid);
__pthread_lock(&handle->h_lock, NULL);