| 1101 | } |
| 1102 | |
| 1103 | static inline int inline_mysql_cond_init( |
| 1104 | #ifdef HAVE_PSI_COND_INTERFACE |
| 1105 | PSI_cond_key key, |
| 1106 | #endif |
| 1107 | mysql_cond_t *that, |
| 1108 | const pthread_condattr_t *attr) |
| 1109 | { |
| 1110 | #ifdef HAVE_PSI_COND_INTERFACE |
| 1111 | that->m_psi= PSI_COND_CALL(init_cond)(key, &that->m_cond); |
| 1112 | #else |
| 1113 | that->m_psi= NULL; |
| 1114 | #endif |
| 1115 | return pthread_cond_init(&that->m_cond, attr); |
| 1116 | } |
| 1117 | |
| 1118 | static inline int inline_mysql_cond_destroy( |
| 1119 | mysql_cond_t *that) |
nothing calls this directly
no test coverage detected