Ignore:
Timestamp:
Oct 10, 2020, 5:11:27 PM (4 years ago)
Author:
alain
Message:
  • Introduce the sys_socket.c file implementing all socket related syscalls.
  • Improve the non-standard sys_get_config() function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/sys_exit.c

    r651 r664  
    8989#endif
    9090
     91    // close all open files
     92    process_fd_clean_all( owner_xp );
     93
     94#if( DEBUG_SYS_EXIT & 1)
     95if( DEBUG_SYS_EXIT < tm_start )
     96printk("\n[%s] thread[%x,%x] closed all files for process %x\n",
     97__FUNCTION__, pid, this->trdid, pid );
     98#endif
     99
    91100    // mark for delete all process threads in all clusters,
    92101    // but the main thread and this calling thread
Note: See TracChangeset for help on using the changeset viewer.