HomeSort by relevance Sort by last modified time
    Searched refs:task_stat (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/sandbox/linux/services/
thread_helpers.cc 26 struct stat task_stat; local
27 int fstat_ret = fstat(proc_self_task, &task_stat);
31 CHECK_LE(3UL, task_stat.st_nlink);
35 return task_stat.st_nlink == 3;
58 struct stat task_stat; local
60 fstatat(proc_self_task, thread_id_dir_str.c_str(), &task_stat, 0);
  /external/chromium_org/sandbox/linux/tests/
unit_tests.cc 30 struct stat task_stat; local
31 int task_d = stat("/proc/self/task", &task_stat);
32 // task_stat.st_nlink should be the number of tasks + 2 (accounting for
34 if (task_d != 0 || task_stat.st_nlink < 3)
36 const int num_threads = task_stat.st_nlink - 2;

Completed in 180 milliseconds