2006/12/5, Evgueni Brevnov <[EMAIL PROTECTED]>:
On 12/5/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
> 2006/12/5, Evgueni Brevnov <[EMAIL PROTECTED]>:
> > On 12/5/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
> > > 2006/12/5, Evgueni Brevnov <[EMAIL PROTECTED]>:
> > > > Here is my understanding....
> > > >
> > > > By looking at classlib's spec and impl for hythread_detach shows that
> > > > it is pretty valid to detach any attached thread (not current thread
> > > > only). So classlib's implementation does ignore the request to detach
> > > > the thread as it suggested in the patch.
> >
> > Upss... missprint here....should be... "So classlib's implementation
> > DOESN'T ignore the request to detach the thread as it suggested in the
> > patch."
> So you suggest to just remove this assert?
No. We can't just remove an assertion. We need to either provide
proper implementation in case the specified thread differs from the
current or fix the caller's side (and spec actually) to call
hythread_detach from current thread only.
Ulternate fix is welcome :)
SY, Alexey