Example #1
0
File: mcs.c Project: pacinodev/moxi
bool mcs_stable_update(mcs_st *curr_version, mcs_st *next_version) {
    if (curr_version->kind == MCS_KIND_LIBVBUCKET) {
        return lvb_stable_update(curr_version, next_version);
    }

    /* TODO: MCS_KIND_LIBMEMCACHED impl for stable update. */

    return false;
}
Example #2
0
File: mcs.c Project: MediaMath/moxi
bool mcs_stable_update(mcs_st *curr_version, mcs_st *next_version) {
#ifdef MOXI_USE_LIBVBUCKET
    if (curr_version->kind == MCS_KIND_LIBVBUCKET) {
        return lvb_stable_update(curr_version, next_version);
    }
#endif

    // TODO: MCS_KIND_LIBMEMCACHED impl for stable update.

    return false;
}