Add helper functions for thread testing.

This commit is contained in:
Geoffrey Challen committed 2015-12-30 09:59:48 -06:00
1 parent 0009ee0b80
commit ce8a0f09a4
3 files changed
+28 -1

No files matched your search

+2
View File
@@ -194,5 +194,7 @@ void kprintf_bootstrap(void);
#define DIVROUNDUP(a,b) (((a)+(b)-1)/(b))
#define ROUNDUP(a,b) (DIVROUNDUP(a,b)*b)
void random_yielder(uint32_t);
void random_spinner(uint32_t);
#endif /* _LIB_H_ */