Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
freediameter
Commits
0ce67403
Commit
0ce67403
authored
Oct 24, 2011
by
Sebastien Decugis
Browse files
Increased delay so that the test has more chances to pass. Wow, Fedora IS slow to create threads...
parent
f5b381ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/testfifo.c
View file @
0ce67403
...
...
@@ -476,7 +476,7 @@ int main(int argc, char *argv[])
CHECK
(
0
,
pthread_create
(
&
th
,
NULL
,
test_fct2
,
&
td
)
);
usleep
(
1000
);
/* 1 millisec */
usleep
(
1000
00
);
/* 1
00
millisec */
CHECK
(
10
,
iter
);
...
...
@@ -484,7 +484,7 @@ int main(int argc, char *argv[])
CHECK
(
0
,
*
item
);
free
(
item
);
usleep
(
1000
);
/* 1 millisec */
usleep
(
1000
00
);
/* 1
00
millisec */
CHECK
(
11
,
iter
);
...
...
@@ -494,7 +494,7 @@ int main(int argc, char *argv[])
free
(
item
);
}
usleep
(
1000
);
/* 1 millisec */
usleep
(
1000
00
);
/* 1
00
millisec */
CHECK
(
14
,
iter
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment