[Issue 6224] Make a read-only public ownerTid property for std.concurrency

2013-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6224 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added OS/Version|Windows |All ---

[Issue 6224] Make a read-only public ownerTid property for std.concurrency

2013-01-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6224 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-01-22 15:24:33 PST --- (In reply to comment #2) The problem is this is equal to Tid.init for the main thread since Tid is a struct. That wasn't worded properly. It's .init

[Issue 6224] Make a read-only public ownerTid property for std.concurrency

2011-06-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6224 --- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2011-06-29 16:11:36 PDT --- I forgot I can also use spawn to send the Tid, e.g.: void workThreadFoo(Tid mainThread) { } spawn(workThreadFoo, thisTid); It would still be nice to