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
Fix copyright headers
[simgrid.git]
/
doc
/
gtut-files
/
07-timers.c
diff --git
a/doc/gtut-files/07-timers.c
b/doc/gtut-files/07-timers.c
index
2258db4
..
cb5ad51
100644
(file)
--- a/
doc/gtut-files/07-timers.c
+++ b/
doc/gtut-files/07-timers.c
@@
-1,3
+1,9
@@
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
+
#include <gras.h>
XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example");
#include <gras.h>
XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example");
@@
-91,7
+97,7
@@
int client(int argc, char *argv[]) {
VERB1("Client ready; listening on %d", gras_socket_my_port(mysock));
VERB1("Client ready; listening on %d", gras_socket_my_port(mysock));
- globals=gras_userdata_new(
server
_data_t*);
+ globals=gras_userdata_new(
client
_data_t*);
globals->done = 0;
gras_os_sleep(1.5); /* sleep 1 second and half */
globals->done = 0;
gras_os_sleep(1.5); /* sleep 1 second and half */