Datasnap 服务端 (Server)Session 管理: http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Server_Side_Session_Management 获取当前线程的会话(Session)——Getting the Current Thread's Session From a server method, for example, you can obtain the current thread's sessio
rcv 分析: /* The socket must have it's spinlock held when we get * here, unless it is a TCP_LISTEN socket. * * We have a potential double-lock case here, so even when * doing backlog processing we use the BH locking scheme. * This is because we cannot