Fixed CPU start/stop control; runCPU is now strictly a worker function, not a control interface (PDP-11 only; other CPUs still need to be updated to match)
This commit is contained in:
parent
c858fd0699
commit
c7dbfc02be
18 changed files with 945 additions and 918 deletions
|
|
@ -949,7 +949,7 @@ Component.prototype = {
|
|||
/**
|
||||
* setBusy(fBusy)
|
||||
*
|
||||
* Update the current busy state; if an fCancel request is pending, it will be honored now.
|
||||
* Update the current busy state; if a busyCancel request is pending, it will be honored now.
|
||||
*
|
||||
* @this {Component}
|
||||
* @param {boolean} fBusy
|
||||
|
|
@ -957,9 +957,7 @@ Component.prototype = {
|
|||
*/
|
||||
setBusy: function(fBusy) {
|
||||
if (this.flags.busyCancel) {
|
||||
if (this.flags.busy) {
|
||||
this.flags.busy = false;
|
||||
}
|
||||
this.flags.busy = false;
|
||||
this.flags.busyCancel = false;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue