Results 1 to 8 of 8

Thread: C++ Semaphores

Threaded View

  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.

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