|
Catching runaway process: msg#00032lang.smalltalk.squeak.beginners
Hi, I probably should introduce myself before hitting you with some new questions. I've been developing a website with games written in Java, and decided that it was too slow to develop each new game, hence the interest in Squeak. As I live on a French Alp, I have plenty of time for coding during the off season. My current project to teach myself Squeak is an experiment with genetic/evolution algorithm. Because of the randomness, I need to be able to catch antisocial processes. I thought I could do this with CPUWatcher: CPUWatcher startMonitoringPeriod: 20 rate: 100 threshold: 0.3 or by starting with the defaults in ProcessBrowser. !Darwin methodsFor: 'as yet unclassified' stamp: 'ss 12/6/2007 18:21'! intentionalRunaway self intentionalRunaway! ! [Darwin new intentionalRunaway] forkAt: 30 named: 'runaway' or just Darwin new intentionalRunaway I expected this to be caught by catchThePig, but it doesn't appear to find it. My O/S is Ubuntu 7.10, and the result was the same under Windows XP SP/2. Have I misunderstood the function of ProcessBrowser/CPUWatcher/catchThePig? Thanks, ...Stan -- View this message in context: http://www.nabble.com/Catching-runaway-process-tf4958298.html#a14200014 Sent from the Squeak - Beginners mailing list archive at Nabble.com.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Obsolete classes - I can find pointers to them, but how to get rid of them, Michael Davies |
|---|---|
| Next by Date: | Morph speeds up stepping when grabbed, kropki |
| Previous by Thread: | Obsolete classes - I can find pointers to them, but how to get rid of them, itsme213 |
| Next by Thread: | Morph speeds up stepping when grabbed, kropki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |