On Wednesday, 28 January 2015 at 11:50:46 UTC, Danny wrote:
Hello,
I'm trying to write some toy examples using threads in D.
Is the std.stdio.File thread-local or shared? Is flockfile used
when I synchronize on it?
I tried checking phobos myself and found some things I don't
get (in stdio.d
On Wednesday, 28 January 2015 at 11:50:46 UTC, Danny wrote:
For Windows, if I use GetStdHandle, is the resulting HANDLE
valid for threads other than the one that called GetStdHandle ?
Because the HANDLE is a pointer but doesn't have "shared". Does
one know for Windows handles in general which a
Hello,
I'm trying to write some toy examples using threads in D.
Is the std.stdio.File thread-local or shared? Is flockfile used
when I synchronize on it?
I tried checking phobos myself and found some things I don't get
(in stdio.d):
alias FLOCK = flockfile;
this(this) { @trusted
if(fps