grn_rc
Definition groonga.h:61
#define GRN_API
Definition groonga.h:39
GRN_API void grn_thread_set_get_limit_with_ctx_func(grn_thread_get_limit_with_ctx_func func, void *data)
void(* grn_thread_set_limit_with_ctx_func)(grn_ctx *ctx, uint32_t new_limit, void *data)
Definition thread.h:156
void(* grn_thread_set_limit_func)(uint32_t new_limit, void *data)
The function pointer type that sets the max number of threads.
Definition thread.h:108
GRN_API void grn_thread_set_limit(uint32_t new_limit)
Set the max number of threads.
GRN_API grn_rc grn_thread_dump(grn_ctx *ctx)
GRN_API uint32_t grn_thread_get_limit(void)
Get the max number of threads.
uint32_t(* grn_thread_get_limit_func)(void *data)
The function pointer type that returns the max number of threads.
Definition thread.h:65
uint32_t(* grn_thread_get_limit_with_ctx_func)(grn_ctx *ctx, void *data)
Definition thread.h:151
GRN_API void grn_thread_set_set_limit_func(grn_thread_set_limit_func func, void *data)
Set the custom function that sets the max number of threads.
GRN_API void grn_thread_set_set_limit_with_ctx_func(grn_thread_set_limit_with_ctx_func func, void *data)
GRN_API void grn_thread_set_limit_with_ctx(grn_ctx *ctx, uint32_t new_limit)
GRN_API uint32_t grn_thread_get_limit_with_ctx(grn_ctx *ctx)
GRN_API void grn_thread_set_get_limit_func(grn_thread_get_limit_func func, void *data)
Set the custom function that returns the max number of threads.