#ifdef WIN32
static void sig_break(int sig)
{
- struct thread_data *td;
int i;
sig_int(sig);
static void reap_threads(unsigned int *nr_running, uint64_t *t_rate,
uint64_t *m_rate)
{
- struct thread_data *td;
unsigned int cputhreads, realthreads, pending;
int i, status, ret;
{
const char *waitee = me->o.wait_for;
const char *self = me->o.name;
- struct thread_data *td;
int i;
if (!waitee)
*/
static void run_threads(struct sk_out *sk_out)
{
- struct thread_data *td;
unsigned int i, todo, nr_running, nr_started;
uint64_t m_rate, t_rate;
uint64_t spent;
do_usleep(100000);
for (i = 0; i < this_jobs; i++) {
- td = map[i];
+ struct thread_data *td = map[i];
if (!td)
continue;
if (td->runstate == TD_INITIALIZED) {
log_err("fio: %d job%s failed to start\n", left,
left > 1 ? "s" : "");
for (i = 0; i < this_jobs; i++) {
- td = map[i];
+ struct thread_data *td = map[i];
if (!td)
continue;
kill(td->pid, SIGTERM);
int fio_backend(struct sk_out *sk_out)
{
- struct thread_data *td;
int i;
if (exec_profile) {