[boost] Re: Any interest in iostream-like pipe?

2003-08-14 Thread graydon hoare
Alexander Nasonov [EMAIL PROTECTED] writes: Philippe A. Bouchard wrote: There is another pipestream project you can take a look at: http://pstreams.sourceforge.net/ May be I missed something but this library is about reading from stdin and writing to stdout of other process. It's not

[boost] Re: Any interest in iostream-like pipe?

2003-08-14 Thread Alexander Nasonov
graydon hoare wrote: an inter-thread pipe might also be referred to as a synchronization channel, if you want to avoid confusion about names (pipes being a particular OS object). -graydon Synchronization channel sounds good except that stream names are too long. synchronization_channel

Re: [boost] Re: Any interest in iostream-like pipe?

2003-08-14 Thread John Torjo
Larry Evans wrote: [snip] indicating some interest in combining thread safety and decoration. It seems to me (a novice in threading) that what needs to be protected is the access to the end of the pipeline, i.e. the final streambuf, which is connected to the actual output medium

[boost] Re: Any interest in iostream-like pipe?

2003-08-14 Thread Bohdan
Alexander Nasonov [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] graydon hoare wrote: an inter-thread pipe might also be referred to as a synchronization channel, if you want to avoid confusion about names (pipes being a particular OS object). -graydon Synchronization

[boost] Re: Any interest in iostream-like pipe?

2003-08-14 Thread Philippe A. Bouchard
Alexander Nasonov wrote: All of you know what is pipe and what are iostreams. In this library they work together. Writer-thread put objects into pipes while reader-thread get them from the pipe. Ã…lthough objects are copied to/from pipe, this is often a better alternative to object sharing

[boost] Re: Any interest in iostream-like pipe?

2003-08-14 Thread Alexander Nasonov
Philippe A. Bouchard wrote: There is another pipestream project you can take a look at: http://pstreams.sourceforge.net/ May be I missed something but this library is about reading from stdin and writing to stdout of other process. It's not about inter-thread pipes. -- Alexander Nasonov

[boost] Re: Any interest in iostream-like pipe?

2003-08-14 Thread Alexander Nasonov
Bohdan wrote: Alexander Nasonov [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] graydon hoare wrote: an inter-thread pipe might also be referred to as a synchronization channel, if you want to avoid confusion about names (pipes being a particular OS object). -graydon

[boost] Re: Any interest in iostream-like pipe?

2003-08-14 Thread graydon hoare
Philippe A. Bouchard [EMAIL PROTECTED] writes: There is another pipestream project you can take a look at: http://pstreams.sourceforge.net/ There was also another former implementation in the Gnu Gcc lib but it was discarded, I don't know why. I have a unix-only sort of work in progress

[boost] Re: Any interest in iostream-like pipe?

2003-08-14 Thread Alexander Nasonov
Larry Evans wrote: [snip] indicating some interest in combining thread safety and decoration. It seems to me (a novice in threading) that what needs to be protected is the access to the end of the pipeline, i.e. the final streambuf, which is connected to the actual output medium (a file,

[boost] Re: Any interest in iostream-like pipe?

2003-08-12 Thread John Torjo
http://lists.boost.org/MailArchives/boost/msg46513.php indicating some interest in combining thread safety and decoration. It seems to me (a novice in threading) that what needs to be protected is the access to the end of the pipeline, i.e. the final streambuf, which is connected to the