Changeset 435 for trunk/kernel/syscalls/sys_fork.c
- Timestamp:
- Feb 20, 2018, 5:32:17 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_fork.c
r433 r435 81 81 if( hal_remote_atomic_add( children_xp , 1 ) >= CONFIG_PROCESS_MAX_CHILDREN ) 82 82 { 83 printk("\n[ERROR] in %s : too much children processes\n", __FUNCTION__); 83 84 #if CONFIG_DEBUG_SYSCALLS_ERROR 85 printk("\n[ERROR] in %s : too much children processes\n", __FUNCTION__); 86 #endif 84 87 hal_remote_atomic_add ( children_xp , -1 ); 85 88 parent_thread_ptr->errno = EAGAIN; … … 119 122 if( error ) 120 123 { 121 printk("\n[ERROR] in %s : cannot fork process %x in cluster %x\n", 122 __FUNCTION__, parent_pid, local_cxy ); 124 125 #if CONFIG_DEBUG_SYSCALLS_ERROR 126 printk("\n[ERROR] in %s : cannot fork process %x in cluster %x\n", 127 __FUNCTION__, parent_pid, local_cxy ); 128 #endif 123 129 parent_thread_ptr->errno = EAGAIN; 124 130 return -1;
Note: See TracChangeset
for help on using the changeset viewer.