Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34798

Re: : Light Weight Channels Lib anybody

From Jan Burse <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: : Light Weight Channels Lib anybody
Date 2016-07-08 19:27 +0200
Organization albasani.net
Message-ID <nlonq8$721$1@news.albasani.net> (permalink)
References <nlnsho$h2n$2@news.albasani.net> <nlohar$aq9$4@dont-email.me> <nlon73$5u4$1@news.albasani.net>

Show all headers | View raw


Jan Burse schrieb:
> Interesting. Small question before I go deeper in your code, is
> your code supposed to be a variant of:
> https://docs.oracle.com/javase/7/docs/api/java/nio/channels/Selector.html

Oh, I see it makes use of the Java Selector class:

public final class EventLoop implements Closeable {
     private final Selector selector;

Well, this is a kill criteria, it should be a OS-less reimplementation,
without any poilling under the hood or extra threads. But a
change in the channel implementation is allowed, they can be
re-implemented from scratch, and only need to support pipes.

Bye

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

: Light Weight Channels Lib anybody Jan Burse <janburse@fastmail.fm> - 2016-07-08 11:42 +0200
  Re: : Light Weight Channels Lib anybody Daniel Pitts <usenet@coloraura.com> - 2016-07-08 08:36 -0700
    Re: : Light Weight Channels Lib anybody Jan Burse <janburse@fastmail.fm> - 2016-07-08 19:17 +0200
      Re: : Light Weight Channels Lib anybody Daniel Pitts <usenet@coloraura.com> - 2016-07-08 10:25 -0700
      Re: : Light Weight Channels Lib anybody Jan Burse <janburse@fastmail.fm> - 2016-07-08 19:27 +0200
      Re: : Light Weight Channels Lib anybody Marcel Mueller <news.5.maazl@spamgourmet.org> - 2016-07-09 10:41 +0200
        Re: : Light Weight Channels Lib anybody Martin Gregorie <martin@address-in-sig.invalid> - 2016-07-09 10:46 +0000
  Re: : Light Weight Channels Lib anybody j4n bur53 <janburse@fastmail.fm> - 2016-07-09 17:43 +0200
    Re: : Light Weight Channels Lib anybody j4n bur53 <janburse@fastmail.fm> - 2016-07-09 17:44 +0200
      Re: : Light Weight Channels Lib anybody Jan Burse <janburse@fastmail.fm> - 2016-07-09 18:17 +0200

csiph-web