pthreads #1: Introduction

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

in pthread_create  1st argument =hold unique number of thread
2nd argument =type of thread i.e attachable or detachable
3rd argument  = function that u want to call
4th argument  = if any argument/variable u want to send to the called function

abhijeetawari
Автор

Thank you for taking the time to post such wonderful tutorials

michaelh
Автор

This is an excellent intro to working with pthreads, especially for people who (like me) don't have the C-style pointer and reference semantics memorized.

GrubenM
Автор

In hurry for attending an exam? You are at the right place! :)

justsurajp
Автор

Sir this was the best introduction to pThreads ever! u are an amazing teacher...

psychicopus
Автор

I had my lab exam in the morning and i got a question on Threads to solve. i had seen your video before. And it helped a lot. thank you so much Sir

codestorywithMIK
Автор

Hello Doctor,

Just watched your video, and it helped clear a lot of my confusion. This is great, as I am taking a class on OS. Thanks a lot.
Anas

Anas.Hadidy
Автор

Dr. Fraser, your the best, Ms.c student here

oMpaglamoMalakas
Автор

Wow you're much better at CS than acting. Love the vids, Brenden. Keep it up!

toatsmagoats
Автор

Thanks a ton! Simply simplistic, but you are taking things to the core!

JosephKJ
Автор

Awesome for first learners and also as a refresh. Thank you my good Sir.

malakilab
Автор

You sound like Sal from KhanAcademy :D

AkshayAradhya
Автор

Thanks for making this video. I learned a lot from it.

WenboIMaggie
Автор

I really like your videos. Can you please make a video on Shared Memory and Semaphores.

bkissa
Автор

Very well, I liked. Will come again. Thx for helping with project. Very nice video. Love it.
xoxo <3

JoaoSilva-boii
Автор

just thank you, you helped me understand it

ГарикКубич
Автор

this is great :) slightly confused as to why we need to wait with pthread_join(tid, NULL) but I'm guessing we learn that in your next video pthreads #2 ! I'm thinking once we start running threads then everything needs to be a thread since main has to wait for threads to finish... mmm

BenBilesBB-box
Автор

we can use a ret variable and passsing it to the pthread_join so we avoid the globale var ;)

samehmouldi
Автор

Fabulous! Thanks a lot for your nice video

amirkeramatian
Автор

Dude! Thank you very much for this video! :D

xPTM