/
GitCaptain
/
llvm-project
Обзор
Документация
Войти
/
GitCaptain
/
llvm-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
fix-tests
libc/src/threads/linux/cnd_broadcast.cpp
21 строка
660 B
Siva Chandra Reddy
[libc] Add implementations of the C standard condition variable functions.
29 сен 2021, 00:18
29 сен 2021, 00:18
8379fc4
Код
Авторство
О чём код?
//===-- Linux implementation of the cnd_broadcast function ----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "CndVar.h" #include "src/threads/cnd_broadcast.h" #include "src/__support/common.h" namespace __llvm_libc { LLVM_LIBC_FUNCTION(int, cnd_broadcast, (cnd_t * cond)) { CndVar *cndvar = reinterpret_cast<CndVar *>(cond); return cndvar->broadcast(); } } // namespace __llvm_libc