A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Misc sonar threats.
[simgrid.git]
/
teshsuite
/
s4u
/
concurrent_rw
/
concurrent_rw.cpp
diff --git
a/teshsuite/s4u/concurrent_rw/concurrent_rw.cpp
b/teshsuite/s4u/concurrent_rw/concurrent_rw.cpp
index
de5f855
..
9cb7c06
100644
(file)
--- a/
teshsuite/s4u/concurrent_rw/concurrent_rw.cpp
+++ b/
teshsuite/s4u/concurrent_rw/concurrent_rw.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2008-201
8
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2008-201
9
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-9,7
+9,7
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_test, "Messages specific for this s4u test");
static void host()
{
static void host()
{
- simgrid::s4u::Storage* storage = simgrid::s4u::Storage::by
N
ame("Disk1");
+ simgrid::s4u::Storage* storage = simgrid::s4u::Storage::by
_n
ame("Disk1");
int id = simgrid::s4u::this_actor::get_pid();
XBT_INFO("process %d is writing!", id);
storage->write(3000000);
int id = simgrid::s4u::this_actor::get_pid();
XBT_INFO("process %d is writing!", id);
storage->write(3000000);