I have read on them. thanks.

Thanks,
Tyler Littlefield
Web: tysdomain.com
email: [email protected]
My programs don't have bugs, they're called randomly added features.

  ----- Original Message ----- 
  From: Tamas Marki 
  To: [email protected] 
  Sent: Wednesday, March 18, 2009 5:31 PM
  Subject: Re: [c-prog] Re: How to load only one instance in Windows startup?


  On Wed, Mar 18, 2009 at 11:51 PM, Tyler Littlefield <[email protected]> 
wrote:
  >> not unless you do initialization first, or they're started like right at
  >> the same time, and code slicing comes in to play, but I don't see it
  >> happening, or it'd be really rare.
  > Ok, but if there's a simpler solution that's guaranteed to work (correct me
  > if I'm wrong), it would seem perverse to choose the more complicated
  > solution that will probably fail in your first customer demo :-)

  > because mutexes are totally garenteed to work, I'm sure.

  Yes. Do a little reading on them. The whole idea of a mutex (Mutual
  Exclusion) is that it is guaranteed to work. Hence they are used to
  avoid deadlocks and other problems in multithreaded applications.

  -- 
  Tamas Marki


  

[Non-text portions of this message have been removed]

Reply via email to