diff options
| author | Michael Bebenita <[email protected]> | 2010-09-07 18:39:07 -0700 |
|---|---|---|
| committer | Michael Bebenita <[email protected]> | 2010-09-07 18:44:12 -0700 |
| commit | de611a309006f0976bc9a579eb1087e7a89f79a7 (patch) | |
| tree | cd30b33ab1986c0cc84e0fc0743593bd99b0caaa /src/rt/rust_port.cpp | |
| parent | Started work on a framework for writing runtime tests, added some simple test... (diff) | |
| download | rust-de611a309006f0976bc9a579eb1087e7a89f79a7.tar.xz rust-de611a309006f0976bc9a579eb1087e7a89f79a7.zip | |
Lots of design changes around proxies and message passing. Made it so that domains can only talk to other domains via handles, and with the help of the rust_kernel.
Diffstat (limited to 'src/rt/rust_port.cpp')
| -rw-r--r-- | src/rt/rust_port.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_port.cpp b/src/rt/rust_port.cpp index 458283fb..82054687 100644 --- a/src/rt/rust_port.cpp +++ b/src/rt/rust_port.cpp @@ -2,15 +2,15 @@ #include "rust_port.h" rust_port::rust_port(rust_task *task, size_t unit_sz) : - maybe_proxy<rust_port>(this), task(task), unit_sz(unit_sz), - writers(task->dom), chans(task->dom) { + maybe_proxy<rust_port>(this), task(task), + unit_sz(unit_sz), writers(task->dom), chans(task->dom) { task->log(rust_log::MEM | rust_log::COMM, "new rust_port(task=0x%" PRIxPTR ", unit_sz=%d) -> port=0x%" PRIxPTR, (uintptr_t)task, unit_sz, (uintptr_t)this); // Allocate a remote channel, for remote channel data. - remote_channel = new (task->dom) rust_chan(task, this); + remote_channel = new (task->dom) rust_chan(task, this, unit_sz); } rust_port::~rust_port() { |