/* Classical synchro schema, implemented on top of SimGrid */
-/* Copyright (c) 2007-2019. The SimGrid Team.
+/* Copyright (c) 2007-2020. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
void xbt_cond_signal(xbt_cond_t cond)
{
- cond->cond_.notify_one();
+ cond->get_iface()->notify_one();
}
void xbt_cond_broadcast(xbt_cond_t cond)
{
- cond->cond_.notify_all();
+ cond->get_iface()->notify_all();
}
void xbt_cond_destroy(xbt_cond_t cond)