On Monday, 29 December 2014 at 06:34:02 UTC, Jeremy DeHaan wrote:
On Monday, 29 December 2014 at 06:26:04 UTC, Jeremy DeHaan
wrote:
Hey all,
I've never gotten any xcb errors with just regular D code
before, but maybe I just haven't done anything that would have
caused them.
I can't say I actually know much about how these things work,
but does D not use xcb when it does threading on Linux?
I'm not really doing anything that I could call complicated. I
am creating a secondary thread and just outputting some text
to the console from both threads. The error itself seems to
happen on a call to Thread.join, though I can't say why.
Looks like it isn't the call to Thread.join, that was just a
coincidence for my writeln debugging. If I have the second
thread going it just happens.
Not sure if this makes any difference, but I don't get any errors
when I let the main thread sleep, but the main thread and
secondary thread do not run simultaneously.