home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga ISO Collection
/
AmigaUtilCD2.iso
/
Programming
/
E
/
TFF-A32R.LZX
/
AmigaE3.2a
/
RkrmSrc
/
Exec_Library
/
Semaphores
/
semaphore.e
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1996-08-29
|
290 b
|
14 lines
-> semaphore.e - Exec semaphore example
MODULE 'exec/semaphores'
PROC main()
DEF lockSemaphore:ss
InitSemaphore(lockSemaphore)
ObtainSemaphore(lockSemaphore) -> Task now owns the semaphore.
-> ...
ReleaseSemaphore(lockSemaphore) -> Task has released the semaphore.
ENDPROC