Subj : Re: while(1); in a thread To : comp.programming.threads From : Joe Seigh Date : Fri Apr 08 2005 05:29 pm On 8 Apr 2005 13:05:22 -0700, James wrote: > Hi, > I've made my own user level thread package using setjmp/longjmp > mechanism. However the problem in them is that if an infinite while > loop is present in any thread then the other thread/s never gets a > chance to run. I've seen the same problem in some other thread packages > also. So can somebody please tell me that is this problem a loophole in > my package(as well as other packages ) or it is a part of the user > level thread properties. > > You have to add your own time slicing as well if you want that to happen. -- Joe Seigh .