helper macros to access fields of zz_cmp_buffer_state and zz_buffer_t inside cmp_ctx_t
msgpack.pack_array(t) ensures that t is packed as an array
only send a thread to sleep if it yields a positive number
curb test time
new lib: async - execute blocking operations in background threads