Posted by Ivαn Sαnchez Ortega on 01/23/06 23:24
Jerry Stuckle wrote:
> No, don't relay on listeners or events, either. Don't wait on anything
> you don't absolutely have to. For instance - you may need to wait for
> another database operation to finish (i.e. updating two tables).
>
> But never turn control over to someone else (i.e. wait for an event).
> What happens if an event gets lost?
Well, I'm supposing here that the locking mechanism is good enough to not
let that happen...
However, what I really meant was "never ever rely on active waiting to do
important concurrent stuff".
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
Ofrecer mucho, especie es de negar.
[Back to original message]
|