Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further snake_case s4u::Actor
[simgrid.git] / teshsuite / s4u / concurrent_rw / concurrent_rw.cpp
index b53d921..8378e8e 100644 (file)
@@ -10,7 +10,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_test, "Messages specific for this s4u test");
 static void host()
 {
   simgrid::s4u::Storage* storage = simgrid::s4u::Storage::byName("Disk1");
-  int id = simgrid::s4u::this_actor::getPid();
+  int id                         = simgrid::s4u::this_actor::get_pid();
   XBT_INFO("process %d is writing!", id);
   storage->write(3000000);
   XBT_INFO("process %d goes to sleep for %d seconds", id, id);