Communications Types of Communication

Communications Types of Communication
1 / 1
Communications Types of Communication - slide 1 of 15 Communications Types of Communication - slide 2 of 15 Communications Types of Communication - slide 3 of 15 Communications Types of Communication - slide 4 of 15 Communications Types of Communication - slide 5 of 15 Communications Types of Communication - slide 6 of 15 Communications Types of Communication - slide 7 of 15 Communications Types of Communication - slide 8 of 15 Communications Types of Communication - slide 9 of 15 Communications Types of Communication - slide 10 of 15 Communications Types of Communication - slide 11 of 15 Communications Types of Communication - slide 12 of 15 Communications Types of Communication - slide 13 of 15 Communications Types of Communication - slide 14 of 15 Communications Types of Communication - slide 15 of 15
Communications Types of Communication Intra-process communication (thread cooperation and synchronization) Threads sharing the same memory space Function calls, shared resources Synchronization primitives (mutexes, semaphores) Inter-process

Related Topics

Download this presentation From Below

"Communications Types of Communication" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
Communications<br>
02
Types of Communication Intra-process communication (thread cooperation and synchronization)
Threads sharing the same memory space
Function calls, shared resources
Synchronization primitives (mutexes, semaphores)
Inter-process communication (IPC)
Separate processes with isolated memory
Requires explicit communication mechanisms
Can span machines on a network<br>
03
Why Inter-process Communication? Security
A large application has one small part that needs elevated permissions.
Giving those permissions to the whole application would be unsecure.
Instead, split that part into its own process and grant permissions only to the one that needs them.
Cooperation
One process needs the output of another to do its job.
ls –la | grep …
Coordination
nginx coordinates multiple worker processes.
Each worker handles its own HTTP requests. Sending information
A desktop notification process receives notifications from other applications.
Discord -> Windows notifier: “new message!”
Shared access to resources
Several applications may need to access the same file at the same time.<br>