🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.winapi
1 messages
1 total messages Started by sakarya - Wed, 29 Apr 2020 20:42
Thread programming without sleep or WaitFor events
#1
Author: sakarya -
Date: Wed, 29 Apr 2020 20:42
3 lines
1433 bytes
We need very high performance to process UDP Socket messages. If we use sleep(0) or sleep(1) or WaitForSingleObject (Event based) it works but sometime we get 15-16ms latency.
If we don't use these it works perfectly but in this case the blocks other operations.
Is there any way to use Threads without any latency in Delphi? Maybe by dedicating one of core to this thread.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads