Added thread_wait_for_count() which allows the menu to wait for all (new) threads to
exit before continuing. We need this for khu testing because we have to make sure cleanup is done before getting the used byte count.
This commit is contained in:
1 parent
854931ea44
commit
388e6388a9
3 files changed
+46
No files matched your search
@@ -178,5 +178,7 @@ void schedule(void);
|
||||
*/
|
||||
void thread_consider_migration(void);
|
||||
|
||||
extern unsigned thread_count;
|
||||
void thread_wait_for_count(unsigned);
|
||||
|
||||
#endif /* _THREAD_H_ */
|
||||
Reference in new issue
Block a user