Re: yield stopping threads????
Hi! Maybe another thread with a higher priority is blocking the system. Are you sure that all your threads are yield()ing sometimes? Even if you have only threads with same priorities it is not guaranteed, that your yielding threads are woken up after a time. On Mon, 10 Jul 2000, Bruno Boettcher wrote: > i have programmed a SPICE-like simulator where each element to simulate is in a > thread. Now when running i send through the tree representing the circuit an > impulse for some sort of computation and wait for completion before launching > the next step. > > I noticed that for some reason the whole system come to a stop, whilst there > where processes that are waiting after a yield. Those processes should be > sleeping, but waked as soon as there are no other process, or am i wrong? At > the moment it doesn't behave this way and i had to put in a thread with a > timer, which periodically calls a dummy method on all present objects to wake > them :( this isn't as i thought it was supposed to work -- Bye... Andreas Kopecki Benutzerberater Emacs [EMAIL PROTECTED] http://www.uni-stuttgart.de/WWWraum/goodies.html - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: yield stopping threads????
> Maybe another thread with a higher priority is blocking the system. Are i didn't hassle around with thread priority, so i think that all should have the same > you sure that all your threads are yield()ing sometimes? Even if you have yep, since i have a farm-pattern approach, each trhead does a computation until spawning a job or finishing a job, after notification of the job-done the thread make a yield before blocking > only threads with same priorities it is not guaranteed, that your > yielding threads are woken up after a time. this is what seems to happen and wich is conter-intuitive and a bug for me -- ciao bboett == [EMAIL PROTECTED] http://inforezo.u-strasbg.fr/~bboett http://erm1.u-strasbg.fr/~bboett === the total amount of intelligence on earth is constant. human population is growing -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
monitoring T2 line and pool of modems : using the JAVA API ?
Hi folks. I am working for a telecom company who wants to migrate to linux for some server functionnality (ie portal software for example (apache server + corba and java stuff ). Well i am searching some open source product who handles the communication layer with T2 lines and handle a pool of modems : this means the lines are allocated to some customer connection following lot of strategy. I think ISP are using this kind of stuff. I need first an open source product (IT customer are discovering the power of opens source :-)) ) which allows me to build the whole application and test the architecture of the prototype. After this learning curve step, it will be possible to wrapp this kind of API and have connector to the software of ISP. I know that Sun had published a Java Telephony API but does any body soon used it. What about the implementation layer;-). Well i am new to this kind of stuff and it would be great if anybody had good pointers about the implementation of the JAVA API on linux or if it exists some C product which could be wrapped as a corba service or with jni. Thanks in advance. What i can say that such a project couldn't exist some years ago and thanks for all the linux community and in the large the open source community who allow me by their works to have fun not only at home but at work too :-)) JM Strauss -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]