Talk:Banker's algorithm

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

See also is for irrelevant resources (?) OK, can be. But for relevant as well? (Primarily for relevant) --Premil 14:59, 29 January 2006 (UTC)[reply]

Definitely. I missed an extra 'also' in my edit comment. Mark Hurd 15:38, 29 January 2006 (UTC)[reply]

C Implementation Crashes[edit]

The linked C program crashes and burns (bus error) when requesting resources for a process. Compiled with "gcc -o bankers bankers.c" on Mac OS X. 12.165.3.118 (talk) 14:38, 9 November 2008 (UTC)[reply]

Banker's rounding link[edit]

What does the Banker's rounding link have to do with deadlock avoidance?

Nothing, but some who type Banker's algorithm to the search box may want to read about Banker's rounding instead of deadlock avoidance. Torzsmokus (talk) 17:28, 13 January 2008 (UTC)[reply]

This article plagiarised?[edit]

This entire article looks suspiciously similar to the explaination of Banker's algorithm in "Operating System Concepts" by Silberschatz, Galvin, and Gagne (pages 259-261 of the 7th edition). Everything from the structure of the article to most of the wording, with a few changes, is no different from this copyrighted work. I'm assuming this shouldn't be?

Indeed it should not. I have now rewritten the article from scratch as a stub article using multiple sources, and added a reference to the source you cite above for further reading. -- The Anome 12:22, 30 May 2006 (UTC)[reply]

Added algorithm section[edit]

I added a large section describing how the algorithm works. I wrote this from my memory of the algorithm from my operating systems class. I did check with some websites and my textbook (which I cited) to make sure I wasn't too far off. Still, it would help if someone else could double check everything, (especially to make sure it is clear enough and not too technical). Also, I didn't want to remove the stub tag myself, but there might be enough information now to do so. MagiMaster 07:48, 10 July 2006 (UTC)[reply]

Habermann's "Prevention of System Deadlocks"?[edit]

I'm not sure how this paper diverges from the banker's algorithm. It says that it is a generalization:

Acknowledgment. The deadlock problem occurred to

me for the first time when E. W. Dijkstra gave a practical solution of the problem for a special purpose [1]. Later on, I had the pleasure of discussing a general solution of the problem with him when I wrote my thesis.

(where [1] is "De Bankiers Algorithm"), but I don't see the difference between what that paper and this article describe. Anyone? -Slamb 01:15, 28 August 2006 (UTC)[reply]

OT: what about hyperlinking math symbols[edit]

Hi, since I don't really have a clue where to say this I say it here: What about hyperlinking math symbols (excuse my ignorance if they're not known by this name) like in "foreach (p ∈ P)", while as a programmer I can guess what it means, I'm rather weak on math (isn't this clear by now) so if "∈" linked to a page explaining what it is I'd (hopefully) understand it. Just an idea, bye and thanks to you all. —Preceding unsigned comment added by 82.50.67.217 (talk) 21:01, 28 March 2008 (UTC)[reply]

Hi, anon. I understand that for some people certain texts may be easier to understand if there are some pointers to prereqs/background information. I also feel kind of uncomfortable reading some formal math expressions like formal grammar. However, here are my two cents:
  1. Wikipedia is a public service website that has to accommodate as many people as possible, so there will always be people who think the article is too easy / too hard / just the right level. The trade-off here is to make as many people comfortable as possible while keeping the article readable for most people.
  2. For people who don't know set-related notations, a link will be pretty helpful. For people who already know them, though, overlinking can be a distraction and make the article look ugly, especially when the link text is part of a math expression. See linking guidelines.
  3. It turns out that many people, especially programmers, understand basic set theory. Furthermore, English Wikipedia is a special Wikipedia; unlike other languages' Wikipedia that are only used by a certain region, English Wikipedia is used by people from all around the world. Set theory is part of high school education in many countries, and part of college education in most countries. So it's reasonable to expect most of our readers to be comfortable with set-related notations.
  4. That said, not linking math symbols here is probably a better decision. The majority of readers can understand the symbols, while people who don't can search the Internet and hopefully figure it out in a few minutes.
Your comment does have a very good point, though: Maybe Wikipedia should have a Prerequisites section for each page, in addition to See also, Notes, References, External links and topic templates. None of the existing conventional sections address your problem and I think it does make Wikipedia a bit unfriendly. A Prerequisites section means more work maintaining the articles, but it will help people at different level from different background have a easier time reading Wikipedia.
Sheep0x (talk) 01:46, 16 October 2015 (UTC)[reply]

Dead links[edit]

The "Deadlock Recovery, Avoidance and Prevention" link is dead. — Preceding unsigned comment added by 89.68.109.167 (talk) 06:48, 27 May 2015 (UTC)[reply]

"Previous example"?[edit]

Currently, the first example refers to a "previous example" which might be a later example (except the numbers do not match). This conflicts with probably all english meanings of the word "previous". — Preceding unsigned comment added by 108.28.151.178 (talk) 09:21, 30 September 2015 (UTC)[reply]

I reverted an edit that seems to have removed the "previous example". In case it's not the example we are looking for, or if there's some reason (copyright, etc.) we should remove this example, we can remove it again. Sheep0x (talk) 22:57, 14 October 2015 (UTC)[reply]

Formatting issues[edit]

  • Can somebody make the numbered list in Resources > Requests > Example continued? Currently the newlines break the list and the numbering becomes 1,2,1,2,3,... I wonder if there's a way to make it 1,2,3,4,5,... Sheep0x (talk) 23:29, 14 October 2015 (UTC)[reply]
  • Can somebody make the C code folded so that the rest of the page is easier to read? Scrolling up and down is a little bit frustrating. Sheep0x (talk) 23:29, 14 October 2015 (UTC)[reply]