Memory allocation: Difference between revisions
Content added Content deleted
(Nimrod -> Nim) |
(Updated D entry) |
||
Line 374:
// This is thread-local:
int
// This is global:
__gshared int
void main() {
// Static memory, it's thread-local but its name is usable
// only locally:
static int
// Static memory, it's global but its name is usable only locally:
__gshared static int
// ----------------------
|