[Issue 5317] Assertion is not work in a function called by std.concurrency.spawn
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 4 00:06:44 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5317
--- Comment #2 from Haruki Shigemori <rayerd.wiz at gmail.com> 2011-02-04 00:04:26 PST ---
Oh really?
import std.stdio, std.concurrency, std.conv;
void f()
{
int a = to!int("2");
assert(a == 1);
}
void main()
{
auto tid = spawn(&f);
readln();
}
Does this code throw AssertError?
I was not able to observe such behavior.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list