>>877470
>>877518
Asynchronous I/O is simpler than synchronous. Real operating systems like VMS turn synchronous I/O into asynchronous, which also avoids the EINTR problem (more misdesigned bullshit conveniently found only in UNIX).
https://en.wikipedia.org/wiki/PCLSRing
>A different approach is possible. It is apparent in the above that the system call has to be synchronous---that is, the calling process has to wait for the operation to complete. There is no reason for this: in the OpenVMS operating system, all I/O and other time-consuming operations are inherently asynchronous, which means the semantics of the system call is "start the operation, and perform one or more of these notifications when it completes" after which it returns immediately to the caller. There is a standard set of available notifications (such as set an event flag, or deliver an asynchronous system trap), as well as a set of system calls for explicitly suspending the process while waiting for these, which are a) fully restartable in the ITS sense, and b) much smaller in number than the set of actual time-consuming system calls.
>OpenVMS provides alternative "start operation and wait for completion" synchronous versions of all time-consuming system calls. These are implemented as "perform the actual asynchronous operation" followed by "wait until the operation sets the event flag". Any access to the process context during this time will see it about to (re)enter the wait-for-event-flag call.
>>877592
>They were given enough money and liberty to not just be a corporate R&D lair.
That makes UNIX look even worse because university researchers didn't make these mistakes. IBM and DEC didn't make these mistakes either. These UNIX "geniuses" have more money than other people but everything they make sucks a lot more. It would explain a lot if they spent it all on shilling.
>>877530
>UNIX is more than a system, it is a design philosophy. Despite nay-sayers like Xah Lee that claim the philosophy was only buzz words and advertising, the UNIX way is fundementally beautiful.
The philosophy is the fundamental problem. The broken commands are part of UNIX. Doing signals wrong is a part of the UNIX philosophy. Kernel panics and EINTR are part of the UNIX philosophy. Not fixing these problems is part of the UNIX philosophy. Multics, VMS, and Lisp machines have better design philosophies.
>Unix as a "corporate thing" came long-after the original development when Bell Labs licensed it to multiple firms that corrupted it. Unix is beautiful, and men in suites didn't care to learn about it and only wanted quick-solution to problems already solved.
UNIX has always sucked. The older versions sucked even more. BSD and System V were attempts to make it not suck as much.
You'll remember unix "gurus" flaming about how evil and
repulsive and wrong file-systems with versions are (about as
wrong and evil as they claimed "shared" libraries to be, as
an example.)
More way retro progress from the avant-garde boys at the
phone company.
Oh, and now you know why your Sun loses your work all the
time -- its that "translucent" filesystem.
I don't know if Minow is committing the hagiolatry one
associates with the typical weenix unie, but I really feel
that any further mention of the reputed tear-inspiring
beauty, simplicity, symmetry, economy, etc of "V7" (or
whatever) Unix should be cause for immediate and permanent
expulsion from present company.
I've seen quite a number of allusions to some downward
fall of unix even in this forum. Let's get this straight
once an for all: Unix was flawed from conception. Its
entire New-Jerseyist philosophy is flawed. In fact, its
entire "philosophy" is a Source of Evil in the Modern World.
THERE WAS AND IS NO FALLING-OFF FROM A WORLD OF
UNDIVIDED LIGHT. THERE WAS NO GREAT PURE, PRIMORDIAL,
PRELAPSARIAN UNIX. The Unix you see, with which you
struggle, which you curse, is not a diseased and reduced
remnant, but is itself the agent of disease and reduction.
How can one lose sight of that?