clone is a system call on the Linux kernel related to multithreading.
| Property | Value |
| p:abstract
| - clone is a system call on the Linux kernel related to multithreading. The syntax for calling clone under a Linux program is: #include <sched.h> int clone;clone creates a new thread that starts with the function pointed to by the fn argument (as opposed to fork which continues with the next command after fork.) The child_stack argument is a pointer to a memory space to be used as the stack for the new thread, flags specify what gets inherited from the parent process, and arg is the argument passed to the function. It returns the process ID of the child process or -1 on failure. (en)
- clone è una chiamata di sistema del kernel Linux correlata al multithreading. La sintassi per chiamare clone all'interno di un programma Linux program è: #include <sched.h> int clone; clone avvia un nuovo thread che inizia con la funzione referenziata dall'argomento fn argument (laddove il comando fork prosegue con l'istruzione immediatamente successiva al fork.) L'argomento child_stack è un puntaotoe allo spazio di memoria da usare come stack del nuovo thread (che dovrà essere stato creato tramite malloc; in quasi tutte le architetture lo stack 'cresce' verso il basso, per cui il puntatore dovrà puntare alla fine dello spazio a disposizione, flags specifica quali parti del processo sono ereditate dal processo genitore e arg è l'argomento passato alla funziona. Il valore di ritorno è l'ID del processo figlio, oppure -1 in caso di errore. (it)
|
| p:hasPhotoCollection
| |
| rdfs:comment
| - clone is a system call on the Linux kernel related to multithreading. (en)
- clone è una chiamata di sistema del kernel Linux correlata al multithreading. (it)
|
| rdfs:label
| - Clone (Linux system call) (en)
- Clone (chiamata di sistema Linux) (it)
|
| owl:sameAs
| |
| skos:subject
| |
| foaf:page
| |