OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef391a5
)
add comments
author
cgf
<cgf>
Fri, 4 Apr 2003 06:03:52 +0000
(06:03 +0000)
committer
cgf
<cgf>
Fri, 4 Apr 2003 06:03:52 +0000
(06:03 +0000)
winsup/cygwin/cygthread.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/cygthread.cc
b/winsup/cygwin/cygthread.cc
index
4ed0d52
..
f7df503
100644
(file)
--- a/
winsup/cygwin/cygthread.cc
+++ b/
winsup/cygwin/cygthread.cc
@@
-149,9
+149,10
@@
new (size_t)
goto out;
}
else if (info->id)
- InterlockedExchange ((LPLONG) &info->avail, 0);
+ InterlockedExchange ((LPLONG) &info->avail, 0);
/* Not available yet */
else
{
+ /* Available as soon as thread is created */
info->h = CreateThread (&sec_none_nih, 0, cygthread::stub, info,
CREATE_SUSPENDED, &info->id);
goto out;