Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Linux OS Interviews:Awk ProgrammingBash Arithmetic ExpressionsDevice DriversGCC CompilerLinux AdministratorLinux CommandsLinux DebuggingLinux EnvironmentLinux GeneralLinux IPCLinux MakefileLinux OSLinux OS EditorsLinux OS ManagementLinux OS ShellLinux Proc FilesystemLinux Search PatternLinux Shared & Static LibrariesLinux Socket ProgrammingLinux Startup and ShutdownLinux SysfsLinux SystemsLinux ThreadsLinux UbuntuSignal HandlingSystem Calls
Copyright © 2018. All Rights Reserved
Linux Threads Interview Question:
Suppose we have three threads T1, T2 and T3 which perform sequentially one after another is their any benefit of using thread over here rather than having a single process?
Submitted by: Administratorhere T1, T2 and T3 as a thread consumes less memory and
more speed
but as a process it consumes more memory.
Example:
Multiple threads can be run within a single memory
allocations.
but process needs seperate memory allocations for each
process.
Submitted by: Administrator
more speed
but as a process it consumes more memory.
Example:
Multiple threads can be run within a single memory
allocations.
but process needs seperate memory allocations for each
process.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.