Re: type specifier '(simple-vector n) in defmethod
Jon Boone <[email protected]> Sat, 6 Jan 2024 12:09:01 -0500
| Newsgroups | gmane.lisp.openmcl.devel |
|---|---|
| Message-ID | <CACdCdGgQdVCkhWx51pkRrv37WG-baSDtauu-z-gnoRBEGPqPew@mail.gmail.com> |
On Saturday, January 6, 2024, David McClain <[email protected]> wrote: > I would add that there is no callback-hell in my system. And no > Green-Threads. > > For async operations you have no right to expect a response to anything > like a READ. You might get a response, or you might not. But you have no > idea exactly how long it would take to arrive, if ever. > > Rather, you could send a request that might generate a response. But don’t > wait around for it. If a response is generated then it should be sent to a > receiver that you specify. You might want to set up a timeout on the > request to notify you in case a response never arrives within that duration. > > But the receiver has no expectations. It just sits passively awaiting an > incoming data fragment to which it can respond. It does not tie up any > thread resources, and runs asynchronously on some pool thread when a data > fragment arrives. > This is the way! -- —jon