fork() and exec() System Calls

preview_player
Показать описание
Operating System: fork() and exec() System Calls
Topics discussed:
1) fork() System Call.
2) exec() System Call.

Follow Neso Academy on Instagram: @nesoacademy

Music:
Axol x Alex Skrindo - You [NCS Release]

#OperatingSystemByNeso #os #OperatingSystem #fork() #exec()
Рекомендации по теме
Комментарии
Автор

exec : execute a binary file and push arguments in. The stack

Fork : used to eat food

xrafter
Автор

EXCELLENT EXPLANATION ( hello from national technical university of Athens - Greece)

nikolaoschairopoulos
Автор

The Best Explanation for fork() and exec() I ever saw. Hats off Sir !!

narasimhann
Автор

Because of your c programming video today I have clear the 1st round of ZOHO... Really thank you sir

lakshminarayanans
Автор

Sir it's🔥🔥🔥🔥..U are simply awesome..Why can't we find a professor like u in colleges???🙍🙍

shaiksoofi
Автор

Thank You!
So, fork() function creates a duplicate copy of the same program with different process id. The process who calls fork() is called parent process while the newly created process with exactly same contents and different process is called child process.
Whereas exec() function is called with some argument by an already existing process. It replaces the existing process with the one referenced in argument. So the whole process is replaced by another with same process id of the older process. In fork (), process id changes while in exec(), process id remains the same. Fork produces duplicate while exec replaces the program.

quratraja
Автор

You are all I needed. Thank you for this insightful and well explained lesson about fork() and exec()

masakusapele
Автор

After listening my proffesor`s meaningless and not understandable 3 hour fork() and exec() lessons, this video brings me to the moon man. Totally understand in <20minutes HATS OFF

ardaaltntas
Автор

Thank you for the explaining why PID was printed two times !

HelloWorldTrip
Автор

Thank you very much you're helping many computer science students get through college!!

ulfinawakjira
Автор

My favorite explanation of fork and exec calls, thank you.

adrianharo
Автор

Thanks sir
with respect from NIT Calicut

ismail
Автор

Very straight and clear explanation with simple example.

bluechacha
Автор

I can't believe I finally got this <3

saraswati
Автор

If my college professors explained programming concepts like you do, many students would finish their degrees instead of dropping out!

nicolagigante
Автор

I got this, lessons on my class created the fear on me !
Thank you !

followying
Автор

hats off for showing thing practically ...really its redefining learning

manshushivam
Автор

what are those quotes on the cow. Lowkey love it

nicholaswoel-nogueira
Автор

you are EXPLAIN clearly than my teachers, Thanks a lot sir.

kawhao
Автор

Thanks a lot, this is the best explanation of exec and fork that i found.

leeyeonseo