<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 10:09 AM, Timothee Cour <span dir="ltr"><<a href="mailto:thelastmammoth@gmail.com" target="_blank">thelastmammoth@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Thanks, that works <div>does it make sense to add a function to do that?<div>
as it stands there are 2 separate ways, <span style="font-family:arial,sans-serif;font-size:13px"> cast(void*)Thread.getThis and cast(void*)getTid, so having a function would make it the preferred way.</span><div><br></div>
</div></div></div></blockquote><div><br></div><div>sorry that should be: </div><div>cast(void*)Thread.getThis (works) </div><div>thisTid doesn't seem useful for purpose of writing a unique identifier (and can't be cast to void*). </div>
<div>So the question is whether we want a wrapper for cast(void*)Thread.getThis. <br></div><div><br></div><div> </div></div></div></div>