<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 05/12/2014 05:20 PM, Andrew Trick
wrote:<br>
</div>
<blockquote
cite="mid:5DCA5EC5-1818-4778-9CA7-0CAC7D5E735B@apple.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div>
<div><br>
</div>
The thread yield API is primarily for user mode scheduling of
threads. </div>
<div><br>
</div>
<div>A JIT could certainly use it for GC and other VM tasks. That
isn’t necessary for us because those tasks can run concurrent
with the LLVM thread until it completes. It would only be a
problem if there are resource constraints.</div>
</blockquote>
Having the use case up front would have been very useful. I had my
own set of assumptions about what you were doing - gc safepoints -
which turned out to be inaccurate. Can I ask that you make an
effort to spell out the intended use case in future proposals? This
has happened a couple of times now and it's wasting both my time and
yours. I'll try to ask more explicitly as well, rather than make my
own assumptions about what you're doing.<br>
<br>
Thanks,<br>
Philip<br>
</body>
</html>