Monday, 12 March 2012

How threads differ from processes

Threads alter from acceptable multitasking operating arrangement processes in that:

processes are about independent, while accoutrement abide as subsets of a process

processes backpack appreciably added accompaniment advice than threads, admitting assorted accoutrement aural a action allotment action accompaniment as able-bodied as anamnesis and added resources

processes accept abstracted abode spaces, admitting accoutrement allotment their abode space

processes collaborate alone through system-provided inter-process advice mechanisms

Ambience switching amid accoutrement in the aforementioned action is about faster than ambience switching amid processes.

Systems like Windows NT and OS/2 are said to accept "cheap" accoutrement and "expensive" processes; in added operating systems there is not so abundant a aberration except the amount of abode amplitude about-face which implies a TLB flush.

No comments:

Post a Comment