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

Describe about full adder, Q. Describe about full adder? Let's take ful...

Q. Describe about full adder? Let's take full adder. For this other variable carry from previous bit addition is added let'us call it 'p'. Truth table and K-Map for this is dis

What is called when a star connected intermediate exchange, A star connecte...

A star connected intermediate exchange is known as a? A star connected intermediate exchange is termed as a Hub exchange.

Parallelism based on granularity size-granularity, Parallelism based on G...

Parallelism based on Granularity size Granularity:  Granularity or Grain size is a determine which measure how much computation is devoted in a process.Granularity size is

Instruction issue degree in superscalar processing, Q. Instruction Issue de...

Q. Instruction Issue degree in superscalar processing? The major concept in superscalar processing is how many instructions we are able to issue per cycle. If we are able to is

Explain b2c -business to consumer, B2C -Business to Consumer  This is w...

B2C -Business to Consumer  This is where the consumer admittance the system of the supplier. It is still a two-way function but is usually complete solely by the Internet.

Application to calculate weekly payment of a company, Problem: A compa...

Problem: A company requires a software application to calculate the weekly payment for its employees. The information about the employees (employees' data) is kept in a file.

Describe the difference between cache and virtual memory, Question 1: (...

Question 1: (a) What do you meant by an expert system? (b) Describe benefits of the EDI. (c) Describe what you understand by: (i) File Infectors (ii) Boot Sect

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