| 101 | } |
| 102 | |
| 103 | int ZSTD_pthread_cond_init(ZSTD_pthread_cond_t* cond, pthread_condattr_t const* attr) |
| 104 | { |
| 105 | *cond = (pthread_cond_t*)ZSTD_malloc(sizeof(pthread_cond_t)); |
| 106 | if (!*cond) |
| 107 | return 1; |
| 108 | return pthread_cond_init(*cond, attr); |
| 109 | } |
| 110 | |
| 111 | int ZSTD_pthread_cond_destroy(ZSTD_pthread_cond_t* cond) |
| 112 | { |
no test coverage detected