Posted By: Superku
PROC_NOFREEZE - 02/17/11 02:25
Quote:
PROC_NOFREEZE didn't work properly (fixed in 8.03.2)
Does PROC_NOFREEZE work for anyone? If so, could you please provide a small working example?
Thanks!
#include <acknex.h> #include <default.c> void func_willFreeze(){ while(1){ DEBUG_VAR(1, 40); wait(1); } } void func_wontFreeze(){ while(1){ proc_mode = PROC_NOFREEZE; DEBUG_VAR(1, 80); wait(1); } } void freeze_toggle(){ freeze_mode = 2 - freeze_mode; } void main(){ on_f = freeze_toggle; func_willFreeze(); func_wontFreeze(); }