Questions tagged [address-space]

The set of addresses that the code of a process is able to refer to during its execution. Note that the ability of a process to refer to some addresses doesn't mean that actual memory is allocated at those addresses.

79 questions
-1
votes
1 answer

Can I save a value out of my currernt thread?

I met some confusions when writing a C program. My scenario has 2 thread but they run serial, so at one time there's single thread. I want to save a parameter in my first thread and I want to get it in my second thread. (pthread here) So is there…
-1
votes
1 answer

Asynchronous methods on single-threaded machine

Anatomy of a Program in Memory states that the libraries (DLLs etc.) are mapped in the Memory-mapped segment of a process. Now, when a process runs and calls the function of a library, I believe that the program counter (PC) of the thread changes to…
AvinashK
  • 3,309
  • 8
  • 43
  • 94
-4
votes
1 answer

Addres space in windows

If in hard disk there is no free space, what do system when i run application? Where's creating paging file?
-5
votes
1 answer

Confusing, what is this inside the channel in Go Routines

Program : package main import ( "fmt" ) func main() { ch := make(chan int) fmt.Println(ch) fmt.Println(0xc000062060) } Output : 0xc00009e000 824634122336 What does that output (824634122336) mean? I think (0xc00009e000) is a starting address of an…
Nellai
  • 1
  • 1
1 2 3 4 5
6