To enable time slice multitasking, as the original goal of tinywasm was supporting that to serve as a base for a toy kernel I was working on.