I'm in trouble understanding the real difference between IDSYNC and IDNOTIFY, what means synchronous / asynchronous in respect to the lines of code I write ?
procedure TForm1.IdTCPServerExecute(AContext: TIdContext);
begin
....
DoSomeThing (TIDNotify) ....
DoSomethingOther(TIDsync) ......
end;
Why can't I be sure that both lines of code are executed within the TCPServer Execute function? Is there only the risk that a few lines of code are not executed within my TIDSynfunction or how can a Deadloack be explained ?