thread_detach and Windows

Haitao Zhang <[email protected]> Sat, 19 Apr 2014 19:02:47 -0700
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <CAFUyvho8ByJjQuNrCy-b8y_w2qfMGvzpw8Tw5srqXv5Ymvt89A@mail.gmail.com>
Does thread_detach works on Windows? I created a thread with
detached(true), and later called thread_signal(Alias, thread_exit(true)),
but I could still see it through thread_property with status(exited(true))
and detached(false). Other threads that supposedly called thread_detach
manually also showed up, even though they had status(exception(error(_))).

I am trying to understand how to properly shut down threads.

Thanks,
Haitao
-------------- next part --------------
HTML attachment scrubbed and removed