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

What is blocking probability, What is blocking probability? Blocking ...

What is blocking probability? Blocking Probability: The blocking probability P is described as the probability like all the servers in system are busy. If all the servers ar

What is called that switch if switch capacity is full, When a switch capaci...

When a switch capacity is full, calls coming into that switch are said to be                 . (A)  open                                            (B)  shorted (C) bloc

No. of decimal places for output within a write statement, The no of decima...

The no of decimal places for output can be describes within a write statement. This statement is right. Write:/ decimals 2.

ERP, ERP usage in real world

ERP usage in real world

What is datapool, A datapool is a source of variable test data that scripts...

A datapool is a source of variable test data that scripts can draw from during playback

Write policy of cache memory, Q. Write Policy of cache memory? If conte...

Q. Write Policy of cache memory? If contents of a block in cache are changed then it's essential to write it back to main memory before replacing it. Write policy determines wh

Binary tree can be converted in to its mirror image, A binary tree can be c...

A binary tree can be converted in to its mirror image By traversing it in Preorder

Recombination and mutation, Recombination and Mutation: In such a scen...

Recombination and Mutation: In such a scenario the point of GAs is to generate population after population of individuals that represent possible solutions to the problem at h

Declare abstract processor arrays, Think about call of two intrinsic functi...

Think about call of two intrinsic functions discussed above for a 32-Processor (4×8) Multicomputer:    The function call NUMBER_OF_PROCESORS () will return 32.

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