hifeng

hifeng

V2EX member #625225, joined on 2023-04-21 16:11:51 +08:00
Today's activity rank 13424
hifeng's recent replies
类里面建个队列,ConcurrentQueue<byte[]> datas =new ConcurrentQueue<byte[]>(2000)
回调直接读 BytesToRead 到 buff,
添加到队列 datas.Enqueue(buff) 就返回;
另外一个线程去处理 datas;
用了一个 e61919b01ca578a9 ,谢谢.
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1066 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 18:23 · PVG 02:23 · LAX 11:23 · JFK 14:23
♥ Do have faith in what you're doing.