blob: 9ca13bc7f4c575091220221dac2a43b3a8edcf5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
function runRichards() {
queue = new Packet;
Packet(queue, ID_DEVICE_A, KIND_DEVICE);
new Packet;
}
var ID_DEVICE_A = 4;
var KIND_DEVICE = 0;
Packet = function (queue) {
this.link = null
if (queue == null) return;
var peek, next = queue;
while ((peek = next.link) != null)
ID_HANDLER_B
};
runRichards()
|