Skip to content
Snippets Groups Projects
Commit c703554d authored by Martine Lenders's avatar Martine Lenders
Browse files

Merge pull request #2826 from OlegHahm/ps_prefix

ps: fix module prefix and documentation plus minor cleanup
parents 6099d82d ca3cae11
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@
* @brief List information about all active threads
*
* @author Kaspar Schleiser <kaspar@schleiser.de>
* @author Oliver Hahm <oliver.hahm@inria.fr>
*/
#ifndef __PS_H
......@@ -26,8 +27,10 @@
extern "C" {
#endif
void thread_print_all(void);
int _ps_handler(int argc, char **argv);
/**
* @brief Print information to all active threads to stdout.
*/
void ps(void);
#ifdef __cplusplus
}
......
......@@ -38,7 +38,7 @@ const char *state_names[] = {
/**
* @brief Prints a list of running threads including stack usage to stdout.
*/
void thread_print_all(void)
void ps(void)
{
const char queued_name[] = {'_', 'Q'};
#ifdef DEVELHELP
......
......@@ -25,7 +25,7 @@ int _ps_handler(int argc, char **argv)
(void) argc;
(void) argv;
thread_print_all();
ps();
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment