• Deja vu (unregistered)

    At Buenos Aires, Argentina, Federal Office Dept., they have the same system for passports request. Maybe the same software? :-/

  • Dave C. (unregistered)
    CRITICAL_SECTION cs;
    EnterCriticalSection(&cs);
    /* existing code here */
    LeaveCriticalSection(&cs);
    

    That's brilliant! I can just put EnterCriticalSection as the first line and LeaveCriticalSection as the last line of main() and never have concurrency problems anywhere in my program again!

  • ebg (unregistered) in reply to James
    James:
    As for whether or not RAII is a good idea -- if it's not in Stroustrup's book, it's a trick. This does *not* mean you can't use it, or that using it is a WTF, but it does merit at least a few words of comment.

    Actually it is in appendix E of the special addition, and Stroustrup cites the technique as a reason that C++ doesn't need the finally keyword: http://www.research.att.com/~bs/bs_faq2.html#finally

  • Michael J Smith (unregistered)

    Despite the questionable use of the Critical Section variable, there is a bigger problem.

    (I'm speaking Windows-Speak here - *nix people will recognize the words, it will sound gobbledygook as the non-Windows world uses different definitions).

    A critical section only protects you from a collision with another thread in the same process.

    We don't know enough about the architecture of the system, but it is probably multi-process.

    A Mutex will work for multiple processes on a single system, while something more complex is required if the display is a network resource.

    Ideally, a server would receive messages from various clients and queue them for the display device. This does not appear to be happening, given the current failure mode.

  • (nodebb)

    its really cool

    Addendum 2022-10-24 14:47: I think that in these circumstances, social fairness should always take precedence over all other considerations because doing otherwise could have a lot of unfavorable effects. Because of this, and for other reasons you may read an essay about criminal justige the facts , I have always called for and will continue to call for equality between all people. By the way, I even learnt a lot when writing an essay for the university, and I also learned a lot for my ideological standpoint.

  • stella jones (unregistered)

    nice content

  • stella jones (unregistered)
    Comment held for moderation.
  • (nodebb)
    Comment held for moderation.
  • (nodebb)

    great

    Addendum 2023-03-07 07:09: This is fantastic disccussion, and I appreciate you taking the time to write it. I'm hoping to continue receiving such material in the future. If you haven't heard of this Sex/Life Season 2 Sarah Shahi Pink Coat, I highly suggest it.

  • richardcostello3910 (unregistered)
    Comment held for moderation.
  • (nodebb)
    Comment held for moderation.
  • (nodebb)

    nice

    Addendum 2023-03-13 10:19: In my view, whoever penned this content is very intelligent in writing because he used simple terms. I also like this Chris Redfield Resident Evil Village Black Coat.

  • bensonclark (unregistered)
    Comment held for moderation.
  • (nodebb)
    Comment held for moderation.
  • (nodebb)
    Comment held for moderation.
  • robertjace (unregistered)
    Comment held for moderation.
  • (nodebb)
    Comment held for moderation.
  • Michelle Evans (unregistered)
    Comment held for moderation.
  • Michelle (unregistered)
    Comment held for moderation.
  • (nodebb)
    Comment held for moderation.
  • Linda Heidi (unregistered)
    Comment held for moderation.
  • Sara Minefield (unregistered)
    Comment held for moderation.
  • David Millar (unregistered)
    Comment held for moderation.
  • Mike Rooney (unregistered)
    Comment held for moderation.
  • David Millar (unregistered)
    Comment held for moderation.

Leave a comment on “Race and Government”

Log In or post as a guest

Replying to comment #133891:

« Return to Article