4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-03-01 20:45:37 +08:00

add comments

This commit is contained in:
Christopher Faylor 2003-04-04 06:03:52 +00:00
parent b410f1680f
commit 8aed2a11a8

View File

@ -149,9 +149,10 @@ new (size_t)
goto out; goto out;
} }
else if (info->id) else if (info->id)
InterlockedExchange ((LPLONG) &info->avail, 0); InterlockedExchange ((LPLONG) &info->avail, 0); /* Not available yet */
else else
{ {
/* Available as soon as thread is created */
info->h = CreateThread (&sec_none_nih, 0, cygthread::stub, info, info->h = CreateThread (&sec_none_nih, 0, cygthread::stub, info,
CREATE_SUSPENDED, &info->id); CREATE_SUSPENDED, &info->id);
goto out; goto out;