Beispiel #1
0
void RangeMgr::putOne(ptr_int_t value) {
    if (cpe_range_put_one(&m_rm, value) != 0) {
        throw ::std::runtime_error("put one to RangeMgr fail!");
    }
}
Beispiel #2
0
int gd_timer_processor_free_id(gd_timer_mgr_t mgr, gd_timer_id_t processorId) {
    return cpe_range_put_one(&mgr->m_ids, processorId);
}