Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Andrew Glowacki

@Andrew Glowacki
About
Posts
9
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Revenge of Redmond – C# and the .Net Frameworks
    A Andrew Glowacki

    Gotos definately do have a place in modern programming languages, according to one of the most influential software dev teachers, Steve McConnell (See http://www.stevemcconnell.com/ccgoto.htm ), and I agree. Obviously its avoidable, but may not always be the best choice.

    The Lounge csharp announcement delphi dotnet visual-studio

  • The Real Windows 8 Logo
    A Andrew Glowacki

    I think the real humor comes from the fact that Microsoft actually paid a design firm to help them come up with the logo.

    The Lounge php com question

  • Text Based Progress Indicator
    A Andrew Glowacki

    Google would be proud

    The Lounge question

  • Visual studio 2011 in browser ;)
    A Andrew Glowacki

    I agree there should be a VB version, it is a very cool tool. However this website disagrees with you on VB programmers: http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html[^]

    The Lounge visual-studio csharp wpf com

  • Coding on a treadmill
    A Andrew Glowacki

    Ive always wanted to try it. I think it would also be cool if someone made a program where you talk your code into a mic. Someday...

    The Lounge com

  • while (true) and for (; ; ) [modified]
    A Andrew Glowacki

    Very good point, for some reason I always assume people are using .NET. I did mean C# anyway. However, nothing comes to mind for a concrete example of where this would be useful at the moment.

    The Lounge hosting cloud question

  • while (true) and for (; ; ) [modified]
    A Andrew Glowacki

    True. I guess having it just like this would be useless unless maybe doSomeOtherStuff actually used the same data in the critical section that other threads were using as well. In this case I would do something like this:

    while (true)
    {
    lock(syncObject)
    {
    if (checkSomeCriticalCondition())
    break;
    doSomeOtherStuff();
    }
    Sleep(someAmountOfTime);
    }

    ... I can see a lot more holes in this design now but I still think that having a critical section check could be used somehow.

    The Lounge hosting cloud question

  • while (true) and for (; ; ) [modified]
    A Andrew Glowacki

    I know, just giving a solid example so there's no doubt. ;P

    The Lounge hosting cloud question

  • while (true) and for (; ; ) [modified]
    A Andrew Glowacki

    while(true) { lock(syncObject) { if (checkSomeCriticalCondition()) break; } doSomeOtherStuff(); }

    The Lounge hosting cloud question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups