support to utility thread offloading
This commit is contained in:
3
executer/user/archdep.h
Normal file
3
executer/user/archdep.h
Normal file
@@ -0,0 +1,3 @@
|
||||
extern int switch_ctx(int fd, unsigned long cmd, void **param, void *lctx, void *rctx);
|
||||
extern unsigned long compare_and_swap(unsigned long *addr, unsigned long old, unsigned long new);
|
||||
extern unsigned int compare_and_swap_int(unsigned int *addr, unsigned int old, unsigned int new);
|
||||
Reference in New Issue
Block a user