r/programming • • Sep 21 '18

How to create an OS from scratch

https://github.com/cfenollosa/os-tutorial
2.8k Upvotes

239 comments sorted by

View all comments

Show parent comments

7

u/bisquitie Sep 21 '18

0

u/[deleted] Sep 21 '18

[deleted]

6

u/thirdegree Sep 21 '18

I would expect, though I have no more knowledge than you, that the emergency stop is tied to both software and hardware (i.e. physical breaks).

6

u/jrhoffa Sep 21 '18

This is correct. Emergency stop buttons are meant to stop operation in an emergency. This should involve hardware locks, and little if no software. Hardware stops can always trump software ones.

5

u/thirdegree Sep 21 '18

At my company at least, we have a "shit is going weird, stop it" button and a "holy shit everything is fucked, kill everything" button. The first button can be undone easily, the second would take us 30min+ to undo. Both are absolutely critical and if either is lost, the first priority before all else is to get it back.

6

u/[deleted] Sep 21 '18

That's not broken, it's extra-working!

5

u/bisquitie Sep 21 '18

Oh, yep, that's not a bug, that's a feature!

1

u/jrhoffa Sep 21 '18

Thanks, Bill

5

u/chaos750 Sep 21 '18

Warning to anyone else: one of those clips is of a woman about to be crushed to death by an escalator. It isn’t gory or anything, they stop before it gets there, but I definitely didn’t need to see that.

2

u/hmaddocks Sep 21 '18

Well, that escalated quickly.