Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
turn SIMIX_comm_new() into a proper constructor
[simgrid.git] / src / simix / Synchro.cpp
1 /* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #include "src/simix/Synchro.h"
7
8 simgrid::simix::Synchro::Synchro() {
9   simcalls = xbt_fifo_new();
10 }
11
12 simgrid::simix::Synchro::~Synchro() {
13   xbt_fifo_free(simcalls);
14   xbt_free(name);
15 }