adeniz
05f0fa5594
Ignore SIGPIPE in writer thread (*nix only). Reason:
Writing to a pipe with no reader raises a signal and returns
error. The Child class handles the error returned. Not ignoring
the signal would result in aborting the process.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@115 d34b734f-a00e-4b39-a726-e4eeb87269ab
8 年前
adeniz
f49d917e99
Allow reading after child has exited.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@99 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
5e81074c11
Added Child::closeStdIn().
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@97 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
65fe25929c
Corrected documentation.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@96 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
2992ac8557
Addressed compiler warning, removed unused variables.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@87 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
fc9f4057e6
Implemented readDelimited.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@86 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
d23e25b988
Implementing Child::readDelimited().
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@85 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
c9f179a972
Implement I/O with vector<char>.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@84 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
8fa4e41a55
Implemented Child read(), write(), and writeAndShrink() with strings.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@82 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
96c9d39914
Implementing Child with I/O threads, and blocking I/O.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@81 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
dc9620460c
Tested with one streambuf for input and output, and inheriting from
iostream.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@79 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
20af91c0a2
Implemented new constructors and isRunning(). Renamed terminate() to close().
Call close() in ~ChildStream.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@78 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
669f79a111
ChildStream inherits from std::iostream.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@77 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
3d82bf14a7
Merged input and output streambuf.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@76 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 年前
adeniz
93ae8221dc
Testing non-blocking read.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@54 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 年前
adeniz
f1001bc789
Implementing non-blocking read.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@53 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 年前
adeniz
c31de176c5
Use _WIN32 instead of WIN32. Reason: MinGW-W64 defines _WIN32 but not WIN32.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@51 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 年前
adeniz
8fcee57460
Cosmetic change to error message.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@50 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 年前
adeniz
dfa9e76316
Cosmetic changes to comments.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@34 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 年前
adeniz
ade5789945
Completed unit tests under Ubuntu for CodeDweller::Child.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@33 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 年前
adeniz
f5c9822cd4
Implemented streams for Windows. Tested isDone() and terminate(). Started testing streams.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@31 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 年前
adeniz
ce9852081a
Implemented CodeDweller::Child for Windows except for streams.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@30 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 年前
adeniz
1fac3ab4bc
Implemented child.hpp.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@29 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 年前