* cygthread.cc (cygthread::release): Add a comment.

This commit is contained in:
Christopher Faylor
2006-02-28 01:27:41 +00:00
parent bc88ea65a1
commit e41ff6093e
2 changed files with 5 additions and 0 deletions

View File

@@ -275,6 +275,7 @@ cygthread::release (bool nuke_h)
#endif
__name = NULL;
func = NULL;
/* Must be last */
if (!InterlockedExchange (&inuse, 0))
#ifdef DEBUGGING
api_fatal ("released a thread that was not inuse");