Help creating semaphores in C with UNIX environment - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Help creating semaphores in C with UNIX environment

JavaStud2003JavaStud2003 Posts: 4Member
Does anyone know how to create a semaphore using the POSIX system call sem_init()? This has to run on a UNIX system. Thanks a lot for your help.

Kevin

Comments

  • DB1DB1 Posts: 1,142Member
    : Does anyone know how to create a semaphore using the POSIX system call sem_init()? This has to run on a UNIX system. Thanks a lot for your help.
    :
    : Kevin
    :


    This might help, there's some explanations and an example program.
    http://www.linux-mag.com/2001-04/compile_01.html



    [italic][blue]To understand recursive, first you need to understand recursive[/blue][/italic]

Sign In or Register to comment.