Changeset 635 for trunk/kernel/syscalls/sys_thread_exit.c
- Timestamp:
- Jun 26, 2019, 11:42:37 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_thread_exit.c
r625 r635 2 2 * sys_thread_exit.c - terminates the execution of calling thread 3 3 * 4 * Authors Alain Greiner (2016,2017,2018 )4 * Authors Alain Greiner (2016,2017,2018,2019) 5 5 * 6 6 * Copyright (c) UPMC Sorbonne Universites … … 46 46 47 47 #if DEBUG_SYSCALLS_ERROR 48 printk("\n[ERROR] in %s : exit_value argument must be NULL / thread %x in process %x\n",49 __FUNCTION__ , this , pid);48 printk("\n[ERROR] in %s : thread[%x,%x] / exit_value argument %x must be NULL\n", 49 __FUNCTION__ , pid, trdid , exit_value ); 50 50 #endif 51 51 this->errno = EINVAL; 52 52 return -1; 53 53 } 54 55 54 56 55 // If calling thread is the main thread, the process must be deleted.
Note: See TracChangeset
for help on using the changeset viewer.