What is the system call available to transmit a signal, Computer Engineering

Assignment Help:

What is the system call available to transmit a signal?

System call Kill is used to send a signal to a method or a group of processes.

Int kill (pad tepid, Int sig);

This returns -1 on error and 0on no error

Sig- signal t be sent

Pad - identity of the receiving entity

If pad=positive, the signal sig is sent to the process identified by pid

If pad=NULL, the signal sig is sent to the sender group of the sender

If pad=-1 the signal sig is sent to all process except the first

If pad<-1 the signal sig is sent to a group of process identified by pad

To sent a signal to group of processes, there is also the call kelp

intkillpg(intpgrp, Int sig)

This returns null when it's sent to the group

Parp- simonizes the group the signal is sent to.

To sent signal to itself

int raise(int sig);- in the event of error it sends a non zero value

 


Related Discussions:- What is the system call available to transmit a signal

Disadvantages of mpi, Disadvantages of MPI  Performance is restric...

Disadvantages of MPI  Performance is restricted by communication network between the nodes It can be harder to debug Needs more programming changes to go from seri

What is an interrupt, What is an interrupt?  An interrupt is an event t...

What is an interrupt?  An interrupt is an event that causes the implementation of one program to be suspended and another program to be implemented.

Explain what is the difference among isr & function call, In ISR there is n...

In ISR there is no return value but in function call there is return value

Computer systems architecture, Assume that you are working in a software co...

Assume that you are working in a software company as a programmer and a bank is your company's client. The Bank is a most popular and one of the leading banks in Malaysia. Your

Provide a diagrammatic interpretation of the hardware stack, a) Prototype ...

a) Prototype a macro known AP which takes 4 integer parameters n (number of terms), a (first term), l (last term) and Sum (sum of n terms), provided that: Sum = (a+l)*n/2 b)

Illustrate code segment with example, CODE SEGMENT ; Set DS register ...

CODE SEGMENT ; Set DS register MOV AX, DATA     ;    boiler plate code to set the DS register so that the MOV DS, AX          ;    program can access the data segment.

Logic-based expert systems - , Logic-based Expert Systems - Artificial inte...

Logic-based Expert Systems - Artificial intelligence: Expert systems are agents which are programmed to make decisions about real world situations. They are put together by uti

For what DMSP stands, For what DMSP stands? DMSP stans here for Dist ri...

For what DMSP stands? DMSP stans here for Dist ributed Mai l system Protocol.

DBMS, Difference between Paperbase and computer base system?

Difference between Paperbase and computer base system?

Uniform path cost search - artificial intelligence, Uniform Path Cost Searc...

Uniform Path Cost Search - artificial intelligence: A breadth first search will find the solution with the shortest path length from the initial state to the goal state. In fa

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd