In the long run we should probably move away from lwp and just use pthread. There is some reason we can't do that now but I don't remember what it is.