[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fork() loses when thread self port's refcount is max'ed out
From: |
Neal H. Walfield |
Subject: |
Re: fork() loses when thread self port's refcount is max'ed out |
Date: |
12 Oct 2002 23:01:43 -0400 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 |
> So you have asserts that have the side effect of leaking send
> rights?
I was working under the assumption that we do not deallocate send
rights returned by mach_thread_self. As I will now understand that
that assumption is wrong, I will correct the code.
My comment was more to justify the use of mach_thread_self; I was
expecting someone to say we should use hurd_thread_self (in fact,
Marcus did), however, the assert is checking if the thread's TSD area
is coherent which hurd_thread_self depends on.