parallel processes and thread.sleep
"Widmann, Sebastian" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
hi list, i try to realise some parallel processes (instances) and each of them uses the javascript-agent with java.lang.thread.sleep(20000). after that break, the process sends an email. now, i have the following problem: i start 5 processes at the same time. the first process starts, waits 20 seconds and sends an email. then, after that 20 seconds, the second process waits 20 seconds and sends an email. then, after 40 seconds, the thrid process waits 20 seconds and sends an email. ... is it possible, that all the processes start at the same time, wait 20 seconds and send then an email? i tried the beer pause example too - same result. best regards sebastian widmann
message-footer.txt
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws