Hi folks,

Could you take a peek at:
https://issues.apache.org/jira/browse/HARMONY-4237

Text:
The docs/comments for hythread_detach() and
HyThreadLibrary->thread_detach() should be amended to note the
limitation that these functions can only be used to detach the
_current_ thread (and not any arbitrary thread).

Because these funcs accept a hythread_t parameter, this may not be obvious.

This limitation exists because the implementation may use some thread
local storage.


It's not quite a bug. I think it's a limitation that was accidentally
omitted from our original document/spec for the hythread API.

I hope you think this limitation is reasonable - it's
implementation-influenced, but I think other implementations might
want to use thread local storage too.

--
Angela Lin, IBM Ottawa Software Lab

Reply via email to