What is Semaphore? What is deadlock?

Answers were Sorted based on User's Feedback

Answer / sumit jain

dead lock means suppose there is two process process A
depends upon the resources of process B where process B
depends upon the resorses of B.both will be confused and it
wiil be stop forever.This is called delock for relese it
use synchroniz keyword in java

Is This Answer Correct ?    15 Yes 3 No

Answer / savithri

For example,
One process writting data into a file, another process
deleting data from that same file. In this situation both
process cannot be complete. This is called 'Deadlock'

Is This Answer Correct ?    6 Yes 7 No

Post New Answer

More Networking AllOther Interview Questions

1).what is forest? 2).what is dns and dhcp port no's? 3).what is file system? 4).what is terminal server?

0 Answers  

what is DHCP in networking clear it properly pls

4 Answers  

Differentiate between Baseband co-axial cable and broad band coaxial cable

0 Answers  

What is socket and server socket?

1 Answers   HP,

Give an example for bus type network.

1 Answers  

I need to know the driver name associated with the DSN ? In java we can get it by using getDriverName()(implemented by 3rd party vendors.) method ? but i need the implemetation to get the driver name? so can u give me the code ? how to get the code ?

0 Answers  

CSMA/Cd protocol used in

6 Answers   Motorola, Hughes,

what is basic of networkin ?2.what is main topik of networkin ? 3.how installed the software and drivers ? 4. how to connect the pc and net?5.what uses of protocol in networking,and tell main proto of netwo

0 Answers   HP, CMS,

Which layer is used to convert packets to frame

0 Answers  

what is computer.

4 Answers   Samsung, 4soft solutions,

Explain distance vector routing . What are its limitations and how are they overcome?

0 Answers  

how many host we can add for network ? and which is the broadcast address for above network ?

6 Answers   KPIT,

  • Networking Protocols Interview Questions Networking Protocols (296)
  • Networking Administration Interview Questions Networking Administration (888)
  • Networking Security Interview Questions Networking Security (70)
  • Networking AllOther Interview Questions Networking AllOther (386)