Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #2282
| From | Ian Collins <ian-news@hotmail.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: long tasks |
| Date | 2012-10-03 09:07 +1300 |
| Message-ID | <ad0vsqFgkttU3@mid.individual.net> (permalink) |
| References | <82c0ce54-e033-4196-bf6c-7c9272e117d4@googlegroups.com> |
On 10/03/12 03:36, bob wrote: Please wrap your lines! > I've noticed that one of the things that makes real-world programming difficult is time-consuming tasks (or potentially time-consuming tasks). Some examples are downloading a file& reading from a database (maybe). > > Usually these are handled in the real-world by things like multi-threading and callbacks, which can quickly turn messy. Are there other strategies that can maybe handle these things more simply? Sit and wait. Alternatives such as threading only add value if there is useful work that can be done while the slow operation is in progress. -- Ian Collins
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
long tasks bob <bob@coolfone.comze.com> - 2012-10-02 07:36 -0700 Re: long tasks Ian Collins <ian-news@hotmail.com> - 2012-10-03 09:07 +1300 Re: long tasks Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-10-02 13:26 -0700
csiph-web