projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
80be24f
)
Quit on thread creation failure
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 12 Mar 2007 10:03:04 +0000
(11:03 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 12 Mar 2007 10:03:04 +0000
(11:03 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c
patch
|
blob
|
blame
|
history
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()) {