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

Explain the working of thousand line exchanges, E xplain the working of th...

E xplain the working of thousand line exchanges by u sing a combination of uniselectors and two motion selectors. The schematic diagram for such an exchange is demonstrated i

Give the truth table of S-R and D-flipflops, Give the truth table of S-R an...

Give the truth table of S-R and D-flipflops. Ans: The Truth Table for S-R Flip-Flop is illustrated in Fig.(a) and truth table of D Flip-Flop is illustrated in Fig.(b)

Variance of predictions is expected to decrease, Suppose the random sample ...

Suppose the random sample used for each tree in the previous random forest is decreased from 1000 rows to 500 rows. Circle ALL that are true for the ensemble classifier. a) Vari

OS, why we say OS is a resource allocator and control program

why we say OS is a resource allocator and control program

Physics, derive an expression for vandar wall equation of state?

derive an expression for vandar wall equation of state?

What is a deadlock, What is a Deadlock? Deadlock is a situation, in th...

What is a Deadlock? Deadlock is a situation, in that processes never complete executing and system resources are tied-up, preventing another job form starting. If the resou

Components of information super highway infrastructure, Explain the compone...

Explain the components of Information Super Highway Infrastructure. The Information Superhighway is more than the Internet. It is a sequence of components, having the collectio

What is the relation between response time and throughput, The Throughput g...

The Throughput graph represents the amount of data in bytes that the Vusers received from the server in a second. When we evaluate this with the transaction response time, we will

Define a segment index or an internal index, The field that contains a segm...

The field that contains a segment index or an internal index is called ? Ans. Target datum consists of a segment index or an internal index.

What are the defining traits of an object-oriented language, The defining t...

The defining traits of an object-oriented language are: * Encapsulation * Inheritance * Polymorphism

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