Results 1 to 8 of 8

Thread: C++ Semaphores

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    12

    Question C++ Semaphores

    The program has to be Peer-To-Peer, only one .Exe started twice.

    Code:
    for (i=1; i<10; i++) 
    {  
    Lock_Sem();
    Function();
    UnLock_Sem();
    }
    What values should I pass in the Lock and UnLock functions?
    Last edited by ZheCk; Jul 13th, 2004 at 01:48 PM.

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    C# forum, not C++ moron
    \m/\m/

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    12

    Question

    I noticed it after posting, sorry.
    BTW, what is C# ???

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by ZheCk
    BTW, what is C# ???
    Google it .

  5. #5
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Originally posted by PT Exorcist
    C# forum, not C++ moron
    Aunt Flow visiting you PT?

    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  6. #6

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    12

    Unhappy

    ok I found something to understand a bit what C# is used for, but...
    how the hell do you pronounce C# ???


  7. #7
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    It's pronounced as : C sharp(#) .

  8. #8

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    12
    too kind with a noob, thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width