Sorroko / cclite

A cc emulator written in lua
33 stars 17 forks source link

Use threads #45

Open Sorroko opened 10 years ago

Sorroko commented 10 years ago

Run the emulator in a thread to be able to reliably prevent infinite loops. i.e. Too long without yielding error.

gamax92 commented 10 years ago

Or, you could just turn jit off on loadstring'd functions.

Reason? Jit'd coded cannot properly trigger hooks.