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


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

Re: : Light Weight Channels Lib anybody

From j4n bur53 <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: : Light Weight Channels Lib anybody
Date 2016-07-09 17:43 +0200
Organization albasani.net
Message-ID <nlr636$l5t$1@news.albasani.net> (permalink)
References <nlnsho$h2n$2@news.albasani.net>

Show all headers | View raw


A solution from scratch turned out pretty simple. Just
introduce an underground layer of publish - subscribe.

Each channels falls into a source and a sink, and the
select block temporarily subscribes to its cases.

Currently doing some final testing and round some
corners such as interrupted waits cleanup.

Can post a link to the source code later.

Jan Burse schrieb:
> Dear All,
>
> Does somebody know about a light weight channels
> Java library, where I can select/wait both on read
> and writes on a channel as is possible in Golang:
>
> http://stackoverflow.com/questions/19992334/how-to-listen-to-n-channels-dynamic-select-statement
>
>
> 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