6#ifndef CWIST_NET_HTTP_WRITER_FAST_H
7#define CWIST_NET_HTTP_WRITER_FAST_H
14#ifndef CWIST_BAREMETAL
55 int flags,
size_t *total_sent);
cwist_write_status_t cwist_http_send_speculative(int fd, const void *buf, size_t len, size_t *sent_out)
Speculative non-blocking direct sender.
cwist_write_status_t cwist_http_sendmsg_speculative(int fd, struct iovec *iov, int iovcnt, int flags, size_t *total_sent)
Speculative scatter/gather sendmsg without blocking poll().
uint32_t cwist_sched_p2c_select_worker(const _Atomic uint32_t *worker_loads, uint32_t num_workers)
Select worker using Power of Two Random Choices (P2C).
uint32_t cwist_fast_monotonic_sec(void)
Fast monotonic clock in seconds (vDSO coarse where available).