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


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

Re: : Light Weight Channels Lib anybody

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: : Light Weight Channels Lib anybody
Date 2016-07-09 10:46 +0000
Organization A noiseless patient Spider
Message-ID <nlqklo$j9f$1@dont-email.me> (permalink)
References <nlnsho$h2n$2@news.albasani.net> <nlohar$aq9$4@dont-email.me> <nlon73$5u4$1@news.albasani.net> <nlqdei$qsg$1@gwaiyur.mb-net.net>

Show all headers | View raw


On Sat, 09 Jul 2016 10:41:00 +0200, Marcel Mueller wrote:

> On 08.07.16 19.17, Jan Burse wrote:
>> Because I consider this not as light weight, rather heavy weight, since
>> it uses the OS channels. Also delegates to the OS poll.
> 
> Well, you won't come around to involve the OS if you do not want to be
> stuck with spin-locks that raise the over all entropy. ;-)
>
I've used the poll() function in C programs on both UNIX (on a DEC 
alphaserver) and Linux servers, with the former using it throughout a 
high performance, high volume multi-process system in preference to a 
multi-threading approach. Performance was even better than I expected, so 
if poll() is heavy-weight in the sense of 'slow', then that wasn't 
apparent.
 

-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

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