Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Understandability |
| Date | 2015-05-19 00:11 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <mjdo13$cpu$1@dont-email.me> (permalink) |
| References | (18 earlier) <mj3mtf$at8$1@dont-email.me> <1e157a01-0835-41e9-849b-40dab655173e@googlegroups.com> <55562EE4.3080202@verizon.net> <89e6a413-a002-481f-a084-16b7c0d9213a@googlegroups.com> <mj8i5u$ejc$1@dont-email.me> |
On 17/05/15 01:01, James Kuyper wrote: > On 05/16/2015 12:18 PM, David Kleinecke wrote: >> On Friday, May 15, 2015 at 10:37:48 AM UTC-7, James Kuyper wrote: > ... >>> Could you describe the distinction between those formal and informal >>> meanings? I would assume, in context, that both Keith and David were >>> referring to what, on typical Unix-like systems, results from using the >>> "mkfifo" command or the "|" symbol at the command line, or the pipe() or >>> popen() functions in C code. Those are four different ways of invoking >>> the same feature of the operating system. Does that differ from your >>> expectations? >> >> These are all examples of what I called formal pipes. Informal pipes >> involve situations where one piece of code gets data from another by >> (usually) next_token or the like calls. I call these pull pipes. There >> are also push pipes where one code piece sends data along by a >> handle_token call. > > Could you identify the context in which next_token and handle_token > apply (just like I did above, when I said "typical Unix-like system", > "command line", and "functions in C code")? On my desktop machine, the > 'man' command gives me nothing for either of those names. A google > search gives me too many hits, none of them obviously the one you were > talking about. > >> The practical effect of both kinds of pipes is the same. > > David Brown does recognize the token routines you are talking about, and > says they can only be used for intra-process communication, whereas > pipes can also be used for inter-process communication. If he's right, > that's a huge difference, given that almost all uses of pipes that I'm > familiar with are for inter-process communication. I've seen pipes used > for intra-process communication, but it was merely a neat trick, not > something that was actually reasonable to do. > I didn't "recognize" the token routines he mentioned - I merely guessed that their are normal functions which pass bits of data round within a single process (but conceivably between threads in the same process). I could well be wrong, but that's what it sounded like to me.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-01 17:55 -0700
Re: Understandability Keith Thompson <kst-u@mib.org> - 2015-05-01 19:41 -0700
Re: Understandability wssimms@gmail.com - 2015-05-01 20:45 -0700
Re: Understandability Bartc <bc@freeuk.com> - 2015-05-02 10:38 +0100
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-02 09:15 -0700
Re: Understandability David Brown <david.brown@hesbynett.no> - 2015-05-04 09:26 +0200
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-04 12:52 -0700
Re: Understandability Noob <root@127.0.0.1> - 2015-05-02 14:21 +0200
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-02 09:13 -0700
Re: Understandability Ian Collins <ian-news@hotmail.com> - 2015-05-03 08:07 +1200
Re: Understandability Keith Thompson <kst-u@mib.org> - 2015-05-02 13:11 -0700
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-03 10:50 -0700
Re: Understandability Tim Rentsch <txr@alumni.caltech.edu> - 2015-05-03 13:26 -0700
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-04 12:29 -0700
Re: Understandability Tim Rentsch <txr@alumni.caltech.edu> - 2015-05-05 05:47 -0700
Re: Understandability raltbos@xs4all.nl (Richard Bos) - 2015-05-08 21:10 +0000
Re: Understandability Ian Collins <ian-news@hotmail.com> - 2015-05-09 09:17 +1200
Re: Understandability Keith Thompson <kst-u@mib.org> - 2015-05-08 14:32 -0700
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-09 09:13 -0700
Re: Understandability Keith Thompson <kst-u@mib.org> - 2015-05-09 16:48 -0700
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-10 11:05 -0700
Re: Understandability David Brown <david.brown@hesbynett.no> - 2015-05-11 08:48 +0200
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-11 09:55 -0700
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-11 17:52 -0400
Re: Understandability glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-05-11 22:54 +0000
Re: Understandability David Brown <david.brown@hesbynett.no> - 2015-05-12 08:49 +0200
Re: Understandability Morris Dovey <mrdovey@iedu.com> - 2015-05-12 02:15 -0500
Re: Understandability Phil Carmody <pc+usenet@asdf.org> - 2015-05-25 03:15 +0300
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-25 00:45 -0400
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-25 10:26 -0700
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-11 10:06 -0700
Re: Understandability David Brown <david.brown@hesbynett.no> - 2015-05-12 08:59 +0200
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-12 08:37 -0700
Re: Understandability David Brown <david.brown@hesbynett.no> - 2015-05-13 08:53 +0200
Re: Understandability Keith Thompson <kst-u@mib.org> - 2015-05-13 08:16 -0700
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-13 09:49 -0700
Re: Understandability Keith Thompson <kst-u@mib.org> - 2015-05-13 10:53 -0700
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-14 10:35 -0700
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-13 09:31 -0700
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-13 13:10 -0400
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-14 10:27 -0700
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-14 22:51 -0400
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-15 10:02 -0700
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-15 13:37 -0400
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-16 09:18 -0700
Re: Understandability David Brown <david.brown@hesbynett.no> - 2015-05-16 23:56 +0200
Re: Understandability gazelle@shell.xmission.com (Kenny McCormack) - 2015-05-17 12:45 +0000
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-17 09:16 -0700
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-17 12:47 -0400
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-18 10:54 -0700
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-18 15:00 -0400
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-19 09:49 -0700
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-19 13:10 -0400
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-16 19:01 -0400
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-17 09:30 -0700
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-17 12:58 -0400
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-18 10:54 -0700
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-18 14:56 -0400
Re: Understandability David Kleinecke <dkleinecke@gmail.com> - 2015-05-19 09:46 -0700
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-19 13:16 -0400
Re: Understandability Richard Heathfield <rjh@cpax.org.uk> - 2015-05-19 18:23 +0100
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-19 14:02 -0400
Re: Understandability David Brown <david.brown@hesbynett.no> - 2015-05-19 00:11 +0200
Re: Understandability James Kuyper <jameskuyper@verizon.net> - 2015-05-18 18:28 -0400
Re: Understandability Keith Thompson <kst-u@mib.org> - 2015-05-15 10:52 -0700
Re: Understandability David Brown <david.brown@hesbynett.no> - 2015-05-13 21:53 +0200
Re: Understandability David Brown <david.brown@hesbynett.no> - 2015-05-09 16:18 +0200
Re: Understandability Noob <root@127.0.0.1> - 2015-05-09 18:31 +0200
Re: Understandability raltbos@xs4all.nl (Richard Bos) - 2015-05-17 10:44 +0000
Re: Understandability glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-05-17 15:53 +0000
Re: Understandability David Brown <david.brown@hesbynett.no> - 2015-05-04 09:15 +0200
Re: Understandability Waldek Hebisch <hebisch@math.uni.wroc.pl> - 2015-05-16 00:28 +0000
Re: Understandability Tim Rentsch <txr@alumni.caltech.edu> - 2015-05-03 10:58 -0700
csiph-web