#define ELOG_ASYNC_OUTPUT_PTHREAD_PRIORITY (sched_get_priority_max(SCHED_RR) - 1) #endif /output thread poll get log buffer size */ #ifndef ELOG_ASYNC_LINE_OUTPUT #ifndef ELOG_ASYNC_POLL_GET_LOG_BUF_SIZE #define ELOG_ASYNC_POLL_GET_LOG_BUF_SIZE (ELOG_ASYNC_OUTPUT_BUF_SIZE - 4) #e...
rstream->uvbuf.base = rbuffer_write_ptr(rstream->buffer);// the offset argument to uv_fs_read is int64_t, could someone really try// to read more than 9 quintillion (9e18) bytes?// upcast is meant to avoid tautological condition warning on 32 bitsuintmax_tfpos_intmax = rstream->...