4 ms·
The condition for program exit in EXEC 8 was that all threads had terminated, or all threads were in a waiting state. The latter produced the error message "AWA
by Animats 1y ago
The condition for program exit in EXEC 8 was that all threads had terminated, or all threads were in a waiting state. The latter produced the error message "AWAIT/DEACT AMBIGUITY". There was no "main thread".
By the time UNIX/Linux got threads, nobody knew that it had been done twenty years previous, and we had to go through a large number of design mistakes, mostly involving signals.
- cryptonector 1y agoI know (you'd said up-thread). > and we had to go through a large number of design mistakes, mostly involving signals. Eh, Unix signals themselves were a bit of a design mistake, especially SIGPIPE (which was a byproduct of the lack of error checking in Unix programs). The reality is that Unix was too simple an OS, but the reality too is that that simplicity was the key to its success.