Re: All Your Thread Are Belong to Us

From: C# Learner (csharp_at_learner.here)
Date: 05/30/04


Date: Sun, 30 May 2004 06:41:29 +0100

Daniel O'Connell [C# MVP] wrote:

> [...]

Hi Daniel,

Thanks for the reply -- it made me take a step back and think at a
higher level.

After several hours, I've finally fixed the two bugs that were causing
the problems.

The first bug was that I was calling ArrayList.Remove instead of
ArrayList.RemoveAt. I was passing an 'int' as a parameter to Remove,
when the ArrayList was holding only references to instances of class
Connection. Doh!

I'm kicking myself now because of this. What seems weird here, though,
is that ArrayList.Remove doesn't throw an exception when the passed
reference doesn't exist in the list.

The other bug was a race condition which I solved by locking a
particular block of code that I hadn't given enough prior thought to.

I appreciated your reply.

I'm gonna have to let my brain rest for awhile now.

See ya.



Relevant Pages

  • Re: regression, bisected: getcwd() ENOENT on NFS4...
    ... On Fri, Nov 6, 2009 at 12:41 AM, Daniel J Blueman ... Backing this patch out by hand against stock 2.6.32-rc5 (w/ 2.6.32-rc5 ... For continuity with the mailing list thread, I've created a bug report ...
    (Linux-Kernel)
  • Re: Addicted to Delphi 2005.
    ... I don't know if this is the same bug, but I have run into a very annoying bug ... icons for the entire program. ... fact the references to the imagelist itself are gone then. ... caused by bugs in Delphi itself or in the third-party components I'm ...
    (borland.public.delphi.non-technical)
  • Re: Sangband is back.
    ... I'm not sure if this should go privately (since technically it's a bug ... sent a private bug report to a maintainer of a variant I got no response ... than modifying the references in the Makefile appropriately). ...
    (rec.games.roguelike.angband)
  • Re: [SLE] Little_endian.h errors
    ... This looks a lot like the bug I was working to figure out to get kscd to ... references byteorder, which references little_endian.h, which is defined ... Also check the archives at http://lists.suse.com ...
    (SuSE)
  • Re: kernel BUG at page_alloc.c:98 -- compiling with distcc
    ... > sorry if I did not follow this thread from the beginning, but why is distcc ... because with sendfile() its possible that such IRQ context ... In fact it seems trivial to trigger the bug in question: ... quickly close the file, no existing user references, only the ...
    (Linux-Kernel)