License:
Version:
Author:
1 2 3 4 5 6 7 8 9 10 11 | auto tc = new ThreadPipe; void outFunc() { Stdout.copy(tc.input); } auto t = new Thread(&outFunc); t.start(); tc.write("hello, thread!"); tc.close(); t.join(); |
Parameters:
bufferSize | The size to allocate the buffer. |
TODO: