Get return value from a thread (pthread_join)

preview_player
Показать описание
Source code can be found here:

===== Support us through our store =====

===== Check out our website =====

===== Check out our Discord server =====
Рекомендации по теме
Комментарии
Автор

Can't stress enough how amazing your videos are: they've become a C Essentials+ Bible in our school, tyvm!

fabiozucconi
Автор

wow, I have a project on threads due in tonight and you just happen to release this video. You're amazing.

aaronshavolian
Автор

I can't write English, so I say it in spanish:

Gran video, amigo. Hace dos horas estaba buscando una solucion para retornar un valor. Solo con tu video pude lograrlo.

LuisGuapo
Автор

What I couldn't understand in one semester of OS I learned from you in a 9 min video <3

ferstr
Автор

i am from France, i understands your explanation more than other videos in french, thanks 🙏🏽🙏🏽🙏🏽🙏🏽

TheKunalingam
Автор

You have no idea how much you helped me with this video. Thank you :)

rohanawasthi
Автор

I tried this code ... its better to add the free and int * res inside the join loop.... Thank you for these years ... I am one of your biggest fans ! ... I watched all of your videos since the beginnings and you made my life easy

SammanMahmoud
Автор

Thankyou so much, you are helping me pass my final c assignment!!! Legend.

sleve_mcdichael
Автор

you really helped me dude, nice work and keep on doing this, you really rock!

ionutsuteu
Автор

Great video. I was really struggling with this, but now it is much clearer:-). Thank you!

andychess
Автор

U are a great explainer man, thanks a lot!!

leobarros
Автор

thank you, a perfect example as usual

Codality
Автор

Lmao I learned pointers from you and I guess I'm back to learn more again <3

josh
Автор

Great video! Just had some segfaults on a school project and they did this very thing.

craigboger
Автор

Really like the vids. Useful for my project

_denzy_
Автор

Keep doing great work :) waiting for the thread pool concept ....

navguest
Автор

thanks, nice content from this got an idea of how to return values

nageshnikavade
Автор

yoo! That was a great video! Thanks ;)

ale
Автор

Thanks for your effort!

Why do you not use deallocate memory in thread roll_dice?

Blazic
Автор

Ty for the videos! i read that rand is not thread safe but i don't get why...

onaecO