Changes

Jump to: navigation, search

IPDL/Five minute example

555 bytes added, 03:24, 18 July 2009
Put it all together
== Put it all together ==
 
First, compile the C++ actor implementations. This is beyond the scope of this guide; see the Mozilla build documentation.
 
If you put your code in the <code>ipc/test-harness</code>, you can run it by invoking the test-harness binary. Navigate to your dist/bin directory and run
$ ipctestharness
If all goes well, you should see the output
[TestParent] in DoStuff()
[TestChild] Hello,
[TestParent] world!
fly by eventually. Remember, the first and third messages are printed by the parent process, and the second is printed by the child process.
== Write a slightly less trivial protocol ==
Confirm
699
edits

Navigation menu