forked from Agoric/agoric-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This rewrites most everything: the way objects+promises are referenced (both in vats and the kernel), the way messages manage their result promises, the kernel-side run-queue, the kernel-side promise tables, the way comms messages are formatted, the entire comms layer, and all the comms tests. The kernel now supports pipelining sends all the way into the deciding vat, and the comms vat will pipeling those sends to the remote deciding machine. It does not yet implement "forwarding" (replacing one promise with a different one), nor do promise references get deleted after their promise has been resolved. The comms vat must be created with the `enablePipelining` option set to `true` to get the pipelining behavior. closes Agoric#88 closes Agoric#34 closes Agoric#79 closes Agoric#45
- Loading branch information
Showing
92 changed files
with
5,314 additions
and
5,058 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import buildCommsDispatch from '../../src/vats/comms'; | ||
|
||
export default function setup(syscall, state, helpers) { | ||
return helpers.makeCommsSlots(syscall, state, helpers); | ||
return buildCommsDispatch(syscall, state, helpers); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import setup from '../../src/vat-tp/vattp'; | ||
import setup from '../../src/vats/vat-tp/vattp'; | ||
|
||
export default setup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import buildCommsDispatch from '../../src/vats/comms'; | ||
|
||
export default function setup(syscall, state, helpers) { | ||
return helpers.makeCommsSlots(syscall, state, helpers); | ||
return buildCommsDispatch(syscall, state, helpers); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import setup from '../../src/vat-tp/vattp'; | ||
import setup from '../../src/vats/vat-tp/vattp'; | ||
|
||
export default setup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import buildCommsDispatch from '../../src/vats/comms'; | ||
|
||
export default function setup(syscall, state, helpers) { | ||
return helpers.makeCommsSlots(syscall, state, helpers); | ||
return buildCommsDispatch(syscall, state, helpers); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import setup from '../../src/vat-tp/vattp'; | ||
import setup from '../../src/vats/vat-tp/vattp'; | ||
|
||
export default setup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import buildCommsDispatch from '../../src/vats/comms'; | ||
|
||
export default function setup(syscall, state, helpers) { | ||
return helpers.makeCommsSlots(syscall, state, helpers); | ||
return buildCommsDispatch(syscall, state, helpers); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import setup from '../../src/vat-tp/vattp'; | ||
import setup from '../../src/vats/vat-tp/vattp'; | ||
|
||
export default setup; |
Oops, something went wrong.