git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 8c18358702ca2a0a21af3147cd8ff67d5773f91e

Merge branch 'master' into scheduler-cleanup

Daniel Tsui authored on 11/22/2017, 5:46:42 AM
GitHub committed on 11/22/2017, 5:46:42 AM
Parent: 1a02908906ad592224398890dbe31da370639340
Parent: d0480ef3e0dd3c49070017e1bd5379dadd2aa4ee

Files changed

actor.jschanged
scheduler.jschanged
actor.jsView
@@ -42,9 +42,9 @@
4242 }
4343 }
4444
4545 /**
46- * adds a message to this containers message queue
46 + * adds a message to this actor's message queue
4747 * @param {string} portName
4848 * @param {object} message
4949 */
5050 queue (message) {
@@ -131,9 +131,9 @@
131131 }
132132 }
133133
134134 /**
135- * updates the number of ticks that the container has run
135 + * updates the number of ticks that the actor has run
136136 * @param {Number} count - the number of ticks to add
137137 */
138138 incrementTicks (count) {
139139 this.ticks += count
scheduler.jsView
@@ -7,9 +7,10 @@
77 }
88
99 module.exports = class Scheduler {
1010 /**
11- * the Scheduler keeps track of which containers are instantiated, running, and waiting for a message
11 + * The Scheduler manages the actor instances and tracks how many "ticks" they
12 + * have ran.
1213 */
1314 constructor () {
1415 this._waits = []
1516 this._running = new Set()

Built with git-ssb-web