Hide libevent symbols when internal thread support enabled
This commit was SVN r24922.
Этот коммит содержится в:
родитель
bd96d028de
Коммит
8a7f9f8997
@ -59,6 +59,8 @@ extern "C" {
|
||||
|
||||
#include <event2/event-config.h>
|
||||
|
||||
#include "opal_rename.h"
|
||||
|
||||
/** A flag passed to a locking callback when the lock was allocated as a
|
||||
* read-write lock, and we want to acquire or release the lock for writing. */
|
||||
#define EVTHREAD_WRITE 0x04
|
||||
|
@ -304,6 +304,13 @@ extern "C" {
|
||||
|
||||
/* threads */
|
||||
#define evthread_make_base_notifiable opal_libevent207_evthread_make_base_notifiable
|
||||
#define _evthread_debug_get_real_lock opal_libevent207__evthread_debug_get_real_lock
|
||||
#define _evthread_is_debug_lock_held opal_libevent207__evthread_is_debug_lock_held
|
||||
#define evthread_enable_lock_debuging opal_libevent207_evthread_enable_lock_debuging
|
||||
#define evthread_set_condition_callbacks opal_libevent207_evthread_set_condition_callbacks
|
||||
#define evthread_set_id_callback opal_libevent207_evthread_set_id_callback
|
||||
#define evthread_set_lock_callbacks opal_libevent207_evthread_set_lock_callbacks
|
||||
#define evthread_use_pthreads opal_libevent207_evthread_use_pthreads
|
||||
|
||||
|
||||
/* tags */
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user