I've lately developed simple task-switching round-robin algorithm. It works perfect, altough I had some problems with processes one-threading. Now it works very good, storing thread information in 64 byte blocks