Ignore:
Timestamp:
Nov 19, 2020, 11:45:52 PM (4 years ago)
Author:
alain
Message:

1) Introduce up to 4 command lines arguments in the KSH "load" command.
These arguments are transfered to the user process through the
argc/argv mechanism, using the user space "args" vseg.

2) Introduce the named and anonymous "pipes", for inter-process communication
through the pipe() and mkfifo() syscalls.

3) Introduce the "chat" application to validate the two above mechanisms.

4) Improve printk() and assert() fonctions in printk.c.

File:
1 edited

Legend:

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

    r664 r670  
    2929#include <printk.h>
    3030#include <process.h>
     31#include <dev_fbf.h>
    3132#include <shared_syscalls.h>
    3233#include <cluster.h>
     
    9899#endif
    99100
     101    // delete all process registered FBF windows
     102    dev_fbf_cleanup( pid );
     103
     104#if( DEBUG_SYS_EXIT & 1)
     105if( DEBUG_SYS_EXIT < tm_start )
     106printk("\n[%s] thread[%x,%x] deleted all FBF windows for process %x\n",
     107__FUNCTION__, pid, this->trdid, pid );
     108#endif
     109
    100110    // mark for delete all process threads in all clusters,
    101111    // but the main thread and this calling thread
     
    117127__FUNCTION__, pid, this->trdid );
    118128#endif
    119         thread_delete( XPTR( local_cxy , this ) , true );    // forced
     129        thread_delete_request( XPTR( local_cxy , this ) , true );    // forced
    120130    }
    121131
Note: See TracChangeset for help on using the changeset viewer.