Threads and stdio and HANDLE
Kagamin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jan 28 04:01:39 PST 2015
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 are per-thread
> and which are per-process ?
There are no per-thread handles in windows. HANDLE was a pointer
during DOS days, but its implementation changed to use indexes
like on unix.
More information about the Digitalmars-d-learn
mailing list