Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Nailed it!
| Subject: | Re: Nailed it! |
| Posted by: | "m utku karatas" (m.utku..@g_o_o_g_l_e_smailservice.com) |
| Date: | 24 Jun 2006 06:14:26 |
"Martin James" <mjames_falcon@dial.pipex.com> wrote in
news:449d268a@newsgroups.borland.com:
...snip
> TThread.stinkronize is best just avoided.
>
Excellent post thanks. stinkronize is such a backstabber, here is my common
sequence of events with Synchronize:
First I use it because it seems nice, friendly, handling the job. Then some
day the weirdest, impossible bug pops up, first I blame anything else -tcp
buffers <g>, OS, the compiler, any library used... I spend countless time
in debugger till that *aha* moment comes, fix the bug with tricks and
hacks. After all, when it refactor time, I switch to asynchronous
mechanisms. <happy ending>
--
Best regards.
M. Utku Karatas
none