projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Quit on thread creation failure
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index 509f8be474bdf0ab9d4940c12c869753f137fdc9..b0afdcc85f303303b2513194b20bfc7212651c83 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-1029,6
+1029,7
@@
static void run_threads(void)
if (pthread_create(&td->thread, NULL, thread_main, td)) {
perror("thread_create");
nr_started--;
+ break;
}
} else {
if (!fork()) {