🔥 watchdog do not exist until edited

This commit is contained in:
ValKmjolnir 2024-06-17 23:52:34 +08:00
parent 9dcb45d786
commit 35c8afe56b
2 changed files with 4 additions and 4 deletions

View File

@ -102,9 +102,9 @@ void codestream::dump(std::ostream& out) const {
out << hex << "0x" << num << dec; break; out << hex << "0x" << num << dec; break;
case op_callb: case op_callb:
out << hex << "0x" << num << dec; out << hex << "0x" << num << dec;
out << " [" << natives[num].name << "@0x"; out << " <" << natives[num].name << "@0x";
out << hex << reinterpret_cast<u64>(natives[num].func) << dec; out << hex << reinterpret_cast<u64>(natives[num].func) << dec;
out << "]"; out << ">";
break; break;
case op_upval: case op_upval:
case op_mupval: case op_mupval:

View File

@ -75,8 +75,8 @@ while(1) {
# check if active every 0.5s # check if active every 0.5s
var exited = false; var exited = false;
for(var t = 0; t<=4; t+=0.1) { while(1) {
unix.sleep(0.1); unix.sleep(0.5);
if (!subprocess.active(subproc)) { if (!subprocess.active(subproc)) {
exited = true; exited = true;
break; break;