home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming with VisualAge for Java
/
IBMVJAVA.ISO
/
icswinnt
/
httpdw32.z
/
sem.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-03-12
|
498b
|
23 lines
#ifndef NS_SEM_H
#define NS_SEM_H
typedef void * SEMAPHORE;
#define SEM_ERROR ((SEMAPHORE) NULL)
int sem_grab(SEMAPHORE sId);
/* Netscape forces you to use the parms here. We
* couldn't care less, because we don't use file
* locking in our implementation of this.
*/
SEMAPHORE sem_init(char * pcDummy, int iDummy);
int sem_release(SEMAPHORE sId);
void sem_terminate(SEMAPHORE sId);
int sem_tgrab(SEMAPHORE sId);
#endif /* NS_SEM_H */