Search results for threads

48 votes
7 answers
6
Threads of a process shareglobal variables but not heapheap but not global variablesneither global variables nor heapboth heap and global variables
0 votes
1 answer
10
2 votes
4 answers
17
1 votes
1 answer
18
The figure shown below indicates a thread's movement between $3$ states (i.e., run, ready, and blocked). Explain what causes each arrow? Say $\text{N/A}$ if it doesn't ha...
0 votes
3 answers
19
Consider the following program segment of C-programming language:#include<stdio.h int main() { if (fork() || fork()) fork(); printf("GATE\n"); return 0; } Number of times...
27 votes
4 answers
20
Which one of the following is NOT shared by the threads of the same process ?StackAddress SpaceFile Descriptor TableMessage Queue
To see more, click for the full list of questions or popular tags.