Changeset 584 for trunk/kernel/syscalls/sys_fork.c
- Timestamp:
- Nov 1, 2018, 12:13:45 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_fork.c
r566 r584 73 73 #if DEBUG_SYS_FORK 74 74 if( DEBUG_SYS_FORK < tm_start ) 75 printk("\n[DBG] %s : thread %x in process %xenter / cycle = %d\n",76 __FUNCTION__, parent_ thread_ptr->trdid, parent_pid, (uint32_t)tm_start );75 printk("\n[DBG] %s : thread[%x,%x] enter / cycle = %d\n", 76 __FUNCTION__, parent_pid, parent_thread_ptr->trdid, (uint32_t)tm_start ); 77 77 #endif 78 78 … … 88 88 89 89 #if DEBUG_SYSCALLS_ERROR 90 printk("\n[ERROR] in %s : thread %x in process %xcannot fork : too much children\n",91 __FUNCTION__, parent_ thread_ptr->trdid, parent_pid );90 printk("\n[ERROR] in %s : thread[%x,%x] cannot fork : too much children\n", 91 __FUNCTION__, parent_pid, parent_thread_ptr->trdid ); 92 92 #endif 93 93 hal_remote_atomic_add ( children_xp , -1 ); … … 110 110 #if (DEBUG_SYS_FORK & 1 ) 111 111 if( DEBUG_SYS_FORK < tm_start ) 112 printk("\n[DBG] %s : thread %x in process %xselected cluster %x\n",113 __FUNCTION__, parent_ thread_ptr->trdid, parent_pid, child_cxy );112 printk("\n[DBG] %s : thread[%x,%x] selected cluster %x\n", 113 __FUNCTION__, parent_pid, parent_thread_ptr->trdid, child_cxy ); 114 114 #endif 115 115 … … 136 136 137 137 #if DEBUG_SYSCALLS_ERROR 138 printk("\n[ERROR] in %s : thread %x in process %x cannot fork to cluster %x\n",139 __FUNCTION__, parent_ thread_ptr->trdid, parent_pid, local_cxy);138 printk("\n[ERROR] in %s : thread[%x,%x] cannot fork\n", 139 __FUNCTION__, parent_pid, parent_thread_ptr->trdid ); 140 140 #endif 141 141 parent_thread_ptr->errno = EAGAIN; … … 167 167 #if DEBUG_SYS_FORK 168 168 if( DEBUG_SYS_FORK < tm_end ) 169 printk("\n[DBG] %s : thread %x in process %xexit / cycle %d\n",170 __FUNCTION__, current-> trdid, current->process->pid, (uint32_t)tm_end );169 printk("\n[DBG] %s : thread[%x,%x] exit / cycle %d\n", 170 __FUNCTION__, current->process->pid, current->trdid, (uint32_t)tm_end ); 171 171 #endif 172 172
Note: See TracChangeset
for help on using the changeset viewer.