7 | | The [source:soft/giet_vm/giet_kernel/sys_handler.c _syscall_vector] array contains the 64 kernel functions (syscal handlers) defined by the GIET-VM to handle system calls. |
| 7 | == Applications related syscall handlers == |
| 8 | |
| 9 | These functions can be used to dynamically activate / deactivate an application. |
| 10 | |
| 11 | === 1) int '''_sys_exec_application'''( char* name ) === |
| 12 | |
| 13 | === 2) int '''_sys_kill_application'''( char* name ) === |
| 14 | |
| 15 | === 3) int '''_sys_applications_status'''( ) === |
| 16 | |
| 17 | These functions implement a subset of the POSIX threads API. |
| 18 | |
| 19 | == Threads related syscall handlers == |
| 20 | |
| 21 | === 1) int '''_sys_pthread_create'''( pthread_t* buffer , void* function ) === |
| 22 | |
| 23 | === 2) int '''_sys_pthread_join'''( pthread_t trdid ) === |
| 24 | |
| 25 | === 3) int '''_sys_pthread_kill'''( pthread_t trdid , int signal ) === |
| 26 | |
| 27 | === 4) int '''_sys_pthread_exit'''( void* string ) === |
| 28 | |
| 29 | === 5) int '''_sys_pthread_yield'''( ) === |