Jump to content

Hey codecall!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1
Deadlock

Deadlock

    Learning Programmer

  • Members
  • PipPipPip
  • 81 posts
Hello everyone, this is my first day here in codecall.net. My original nick is Paradox but I found it to be taken here :closedeyes:. So I had to use my alternative which is this one. I hope I can find some more knowledge here. I'm capable of Java,VB.NET,C#,Prolog,Haskell and others knowing that Java and VB is my favorite. I hope to see you guys around. :rolleyes:

Edited by James.H, 28 March 2010 - 05:38 AM.


#2
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
Welcome to CodeCall :)

#3
James.H

James.H

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 866 posts
Hi Deadlock welcome to codecall, I see your doing well here. Hope to see more from you!

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Hiya Deadlock. May you avoid your nick at all times :)
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
Deadlock

Deadlock

    Learning Programmer

  • Members
  • PipPipPip
  • 81 posts
Lol, you know much about deadlocks?

#6
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I haven't done any threaded programming yet... deadlocks and such being an obvious hazard if not done carefully.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#7
Deadlock

Deadlock

    Learning Programmer

  • Members
  • PipPipPip
  • 81 posts
Yea, originally Deadlocks happen by computer processes requesting different resources simultaneously so they reach a stage where every process is waiting for another process to release the resource its using going through a waiting cycle that will never get opened and that is called a "Deadlock". The same also goes for threads under the same process (the same concept) but once a deadlock happen, its too hard to recover from it unless using checkpoints and rollbacks which consumes memory inefficiently , So OS designers goes through implementing a defensive strategy against deadlocks.

Real example for a deadlock:

Posted Image

#8
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I know how to make a deadlock :) It's avoiding them that can get tricky!
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#9
Deadlock

Deadlock

    Learning Programmer

  • Members
  • PipPipPip
  • 81 posts
Yea so tricky I can say. There are basic algorithms you can follow to avoid them though.

#10
so1i

so1i

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 312 posts
Welcome mate. Nice intro! :)