Help the compiler to optimize the code. Now the order in the enum reflect the
order we use them in the switch. This commit was SVN r10565.
Этот коммит содержится в:
родитель
9bf281bca2
Коммит
238147f576
@ -38,12 +38,12 @@ OBJ_CLASS_DECLARATION(mca_btl_tcp_endpoint_t);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
MCA_BTL_TCP_CLOSED,
|
MCA_BTL_TCP_CONNECTING = 0,
|
||||||
MCA_BTL_TCP_CONNECTING,
|
|
||||||
MCA_BTL_TCP_CONNECT_ACK,
|
MCA_BTL_TCP_CONNECT_ACK,
|
||||||
|
MCA_BTL_TCP_CLOSED,
|
||||||
|
MCA_BTL_TCP_FAILED,
|
||||||
MCA_BTL_TCP_CONNECTED,
|
MCA_BTL_TCP_CONNECTED,
|
||||||
MCA_BTL_TCP_SHUTDOWN,
|
MCA_BTL_TCP_SHUTDOWN
|
||||||
MCA_BTL_TCP_FAILED
|
|
||||||
} mca_btl_tcp_state_t;
|
} mca_btl_tcp_state_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user