Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (32 sloc) 1.465 kb
/*
* This file is part of the zlog Library.
*
* Copyright (C) 2011 by Hardy Simpson <HardySimpson1984@gmail.com>
*
* The zlog Library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The zlog Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with the zlog Library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __zlog_thread_list_h
#define __zlog_thread_list_h
#include <pthread.h>
#include "zc_defs.h"
#include "thread.h"
zc_arraylist_t *zlog_thread_list_new(void);
void zlog_thread_list_del(zc_arraylist_t *threads);
void zlog_thread_list_profile(zc_arraylist_t *threads, int flag);
int zlog_thread_list_update_msg_buf(zc_arraylist_t * threads, size_t buf_size_min, size_t buf_size_max);
void zlog_thread_list_commit_msg_buf(zc_arraylist_t * threads);
void zlog_thread_list_rollback_msg_buf(zc_arraylist_t * threads);
zlog_thread_t *zlog_thread_list_new_thread(zc_arraylist_t * threads, pthread_key_t key,
size_t buf_size_min, size_t buf_size_max);
#endif
Jump to Line
Something went wrong with that request. Please try again.