- static std::list<int> gTeams;
- status_t
- _kern_get_next_team_info(int32 *cookie, team_info *info)
- {
- CALLED();
- if (*cookie == 0) {
- // Put all pids in /proc/ into gTeams
- }
- if (*cookie > gTeams.size()) {
- // empty gTeams
- *cookie = -1;
- return B_ERROR;
- }
- // get next process
- _kern_get_team_info(gTeams.get(i), info);
- *cookie++;
- return B_OK;
- }
Undefined
By: Guest | Date: May 12 2020 17:53 | Format: None | Expires: never | Size: 381 B | Hits: 459
Latest pastes
1 hours ago
1 days ago
1 days ago
2 days ago
2 days ago