On 2/20/2020 11:23 AM, Larry McVoy wrote:
Early Solaris was awful, just awful. They pulled out sockets and replaced
them with Lachman's STREAMS based TCP/IP stack (really convergent's stack,
I believe Lachman bought it from them). Performance was horrible, they
brought in Mentat's stack and had to work on that, and eventually they
brought back sockets. I dunno if there is any STREAMS stuff left, that
was a horrible idea.
It's still there. Not sure if it's used for more than a console keyboard
driver anymore, but from a Solaris 11.3 machine:
more /usr/include/sys/stream.h
/*
* Copyright (c) 1988, 2016, Oracle and/or its affiliates. All rights
reserved.
*/
#ifndef _SYS_STREAM_H
#define _SYS_STREAM_H
/*
* For source compatibility
*/
#include <sys/isa_defs.h>
#ifdef _KERNEL
#include <sys/vnode.h>
#endif
#include <sys/poll.h>
#include <sys/strmdep.h>
#include <sys/cred.h>
#include <sys/t_lock.h>
#include <sys/model.h>
#ifdef __cplusplus
extern "C" {
#endif
...