I think Lanes and other solutions use the operating system resources to do multithreading, making it possible to utilize multicore CPUs. So they have OS dependencies. Maybe I am wrong in the above assumption, in which case I would really like to know.
With the method I am using it has no OS dependency at all and will run in all systems ANSI C works i.e. basically wherever Lua works. Drawbacks are that it does not utilize multicore CPUs since everything runs on one process by time slicing the scripts and second is that blocking functions in the script will block the whole time slicing intention so the scripts being multi threaded should be provided blocking functions in the environment which take care of releasing control back to the time slicer program. That would be acceptable in many cases and I think would fit nicely for my requirement considering the benefit that I have no OS dependency at all which is my prime objective.
I would be interested in listening to other pros and cons that might come to mind.
Thanks,
Milind