Nice wrappers around process management
All checks were successful
Build documentation / build-and-deploy (push) Successful in 34s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 34s
This commit is contained in:
13
libmsl/proc/proc.h
Normal file
13
libmsl/proc/proc.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef _LIBMSL_PROC_PROC_H
|
||||
#define _LIBMSL_PROC_PROC_H
|
||||
|
||||
#include <m/system.h>
|
||||
|
||||
#define PROC_STACK_SIZE 256 * PAGE_SIZE
|
||||
|
||||
typedef void (*process_func_t) (void);
|
||||
|
||||
int process_spawn (process_func_t func);
|
||||
int process_quit (void);
|
||||
|
||||
#endif // _LIBMSL_PROC_PROC_H
|
||||
Reference in New Issue
Block a user