I'm running xilkernel with a microblaze on a spartan 3E. I recently removed lwIP and have run into a strange problem in my project. If I try to run two static threads with a yield in each of them and a call to sleep in a third thread, my task scheduler fails to return from the sleep call. If I take out one of the yield calls it works most of the time. When I try launch my new stack, xilkernel is having all kinds of problems usually ending up dead. The problem appears to be in sched.c in a call to suspend which never returns true. I've tried sys_sleep and that's even worse.