mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-08-01 00:21:58 +00:00
improved memsink checks performance
This commit is contained in:
@@ -41,8 +41,11 @@ typedef struct {
|
||||
|
||||
int fd;
|
||||
us_memsink_shared_s *mem;
|
||||
u64 last_id;
|
||||
atomic_bool has_clients; // Only for server
|
||||
|
||||
u64 last_readed_id; // Only for client
|
||||
|
||||
atomic_bool has_clients; // Only for server results
|
||||
ldf unsafe_last_client_ts; // Only for server
|
||||
} us_memsink_s;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user