Live data from Hacker News

The Unix Time Sharing System (1974) [pdf]

cs.berkeley.edu

1–6 of 6 posts

Re: The Unix Time Sharing System (1974) [pdf]

#5
post #3

I think I was most surprised to see that fork used to take a label. How did that work?

Just guessing, but the label probably became an address on compilation, so one branch of the fork would return in the usual way, the other would jump to the label/address

Re: The Unix Time Sharing System (1974) [pdf]

#6
post #3

I think I was most surprised to see that fork used to take a label. How did that work?

From the article: "The new processes differ only in that one is considered the parent process: in the parent, control returns directly from the fork, while in the child, control is passed to location label"