2 minutes for what I'd otherwise have to a watch a 2 hour lecture. Lmao thanks
@crosbytristen11533 жыл бұрын
dont know if anyone gives a damn but if you're bored like me during the covid times you can stream pretty much all of the latest series on InstaFlixxer. I've been watching with my girlfriend during the lockdown :)
@traviszahir26993 жыл бұрын
@Crosby Tristen Definitely, been watching on instaflixxer for since november myself :)
@giveaway4002 Жыл бұрын
this trick saved me during one assignment, thanks
@RB-gi3zq4 жыл бұрын
Me : This video is only 2 minutes. It can't help me Also me after 2 minutes: OMG I GET EVERYTHING NOW
@arby87226 жыл бұрын
Man I always love watching these videos, they're great! Any plans on delving into the Linux or Unix kernels? I realise they're obscenely massive, but it might be nice to have a look into perhaps how a small portion of the kernel works (maybe elaborate on Linux device drivers or something, it can be a bit overwhelming).
@JacobSorber6 жыл бұрын
I'm glad you like them. As for the kernel question. Sure. Maybe. Time is always my biggest constraint. So, I tend to make videos about stuff that I'm already playing with while working on other projects. The kernel is a bigger investment with a higher startup cost. But, I really like hacking around in the kernel. So, I'll see what I can do. Probably not in the next few weeks, though.
@ade53242 ай бұрын
I just wanted you to know that this "Programming with Processes" series Covered a HUGE knowledge gap in such a short amount of time I'm extremely grateful! Also question: is series complete? does it cover about IPC, Processes, Threads extensively, or is there still some topic to be covered. Please let me know, thanks.
@alexanderzikal72443 ай бұрын
That can be very useful! 😊
@dakshays63755 жыл бұрын
You thinking about making videos about File Systems ? I am sure a lot of people that watch your videos are the students that are taking Operating System course. File System is one of major topics in OS course.
@JacobSorber5 жыл бұрын
It's definitely on my list of possible future topics. File systems is a pretty big space. Are there specific things you would like to hear about?
@nutankumari6343 Жыл бұрын
very helpful 🙂
@katecancer5200 Жыл бұрын
Love the video
@kaus05Ай бұрын
Hi, what is the difference in using the shared memory of unix and mmap if there is any ?
@DavidAlsh Жыл бұрын
Can you share memory with a process started via exec()?
@gr3ybrun1x662 жыл бұрын
It would be helpful for my operating systems project if it weren't explicitly prohibited by the professors
@leokiller123able3 жыл бұрын
Do we need mutexes or semaphores when editing shared memory?
@JacobSorber3 жыл бұрын
Often, yes. It depends on what your code is doing, but most programs that use shared memory need some sort of synchronization..
@leokiller123able3 жыл бұрын
@@JacobSorber OK thx, very good video btw 👍
@brooksburris83413 жыл бұрын
Hey Jacob, thanks for these videos. I had a noob question about this shared memory. How is this different from just allocating a normal block of memory with malloc before the fork? All pointers should have the same values and so can access the same block of memory. What is the advantage to using mmap over this? Is it simply that you don't have to use pointers? Thanks for your time.
@sverkeren2 жыл бұрын
Modern hardware and operating systems support virtual vs physical addresses. The same virtual address value in two different processes does not mean they map to the same physical memory address.
@veggieboy1 Жыл бұрын
Just to add on to the other comment, the address might appear to be the same, but upon writing to the memory block in the child process you will notice that it is unchanged in the parent process (if the memory was malloc’ed, as you said).
@erbenton07 Жыл бұрын
I can't get this to play, it always results in "An error occurred. Please try again later", been trying for 2 days - linux firefox 110.0
@metehangul11644 жыл бұрын
THATS CRAZY USEFULL
@JacobSorber4 жыл бұрын
I know, right?!?
@metehangul11644 жыл бұрын
@@JacobSorber yes but what about the speed? is mmap faster than the pipes or another interprocessing techniques? İs that the best way to do that? What do you think?
@rafalmichalski48934 жыл бұрын
What does mean MAP_ANONYMOUS ?
@1nxpired6 жыл бұрын
very helpful :)
@JacobSorber6 жыл бұрын
Thanks. Glad you enjoyed it.
@fallout__boy1130 Жыл бұрын
Carefull with synchronization and race conditions tho
@JacobSorber Жыл бұрын
Yep.
@rouinihosni71086 жыл бұрын
Can u make a video about dlls plz.
@JacobSorber6 жыл бұрын
For a specific OS or just in general? A general one or one for Linux/Unix/MacOS would be easy. If you want a windows one, you might have to wait a bit longer. I'm not doing much with Windows, these days.
@rouinihosni71086 жыл бұрын
@@JacobSorber i use windows. but i have no probleme if u explain it on any platform and thx
@JacobSorber6 жыл бұрын
Ok. Sounds good. I'll see what I can do.
@yashmanwani62323 жыл бұрын
Is there a way to have a shared memory between processes that aren't parent/child and yet have it persisted on disk (i.e across reboots)? shm_open shared memories created in /dev/shm get wiped out on reboot.
@chrisschneider76093 жыл бұрын
Is this shared memory available to other processes? Example one C program and one PHP program. I'm looking at creating something that writes to something other than a file and then is picked up by PHP (or another C program) for use in an API. This will happen once a second so don't want to write to a file and the device has eMMC so definitely don't want to write to that file.
@d.sherman8563 Жыл бұрын
Once a second is nothing, there is no reason not to write to file. Another solution would be to send it via a socket if you really need to avoid the file. But again your computer can do billions of operations a second, something done every second is nothing.
@aabdev3 жыл бұрын
How do ArtMoney program get access to another process memory in the OS?
@JacobSorber3 жыл бұрын
Probably using something like the ptrace API.
@TheNata965 жыл бұрын
error: ‘MAP_ANONYMOUS’ undeclared (first use in this function) A have this problem. Can you tell me how to fix it? I try gcc -std=c99 gcc -std=gnu99 .. thenks..
@JacobSorber5 жыл бұрын
Need more info about your machine and how you're trying to build it.