If the enum is defined inside the struct it will has a scope. We don't
really need that. This commit was SVN r12001.
Этот коммит содержится в:
родитель
090b8a9098
Коммит
3a34f9340e
@ -224,6 +224,7 @@ void mca_oob_tcp_registry_callback(
|
||||
|
||||
void mca_oob_tcp_set_socket_options(int sd);
|
||||
|
||||
typedef enum { OOB_TCP_EVENT, OOB_TCP_LISTEN_THREAD } mca_oob_tcp_listen_type_t;
|
||||
/**
|
||||
* OOB TCP Component
|
||||
*/
|
||||
@ -257,7 +258,7 @@ struct mca_oob_tcp_component_t {
|
||||
int tcp_debug; /**< debug level */
|
||||
|
||||
bool tcp_shutdown;
|
||||
enum { OOB_TCP_EVENT, OOB_TCP_LISTEN_THREAD } tcp_listen_type;
|
||||
mca_oob_tcp_listen_type_t tcp_listen_type;
|
||||
opal_thread_t tcp_listen_thread;
|
||||
opal_free_list_t tcp_pending_connections_fl;
|
||||
opal_list_t tcp_pending_connections;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user