home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff201.lzh
/
Draco
/
drinc
/
exec
/
semaphores.g
< prev
next >
Wrap
Text File
|
1989-04-03
|
894b
|
37 lines
type
MsgPort_t=unknown34,
MinNode_t=unknown8,
Node_t=unknown14,
Semaphore_t=struct{
MsgPort_tsm_MsgPort;
uintsm_Bids;
},
SemaphoreRequest_t=struct{
MinNode_tsr_Link;
*Task_tsr_Waiter;
},
SignalSemaphore_t=struct{
Node_tss_Link;
uintss_NestCount;
MinList_tss_WaitQueue;
SemaphoreRequest_tss_MultipleLink;
*Task_tss_Owner;
uintss_QueueCount;
};
extern
AddSemaphore(*SignalSemaphore_tss)void,
AttemptSemaphore(*SignalSemaphore_tss)bool,
FindSemaphore(*charname)*SignalSemaphore_t,
InitSemaphore(*SignalSemaphore_tss)void,
ObtainSemaphore(*SignalSemaphore_tss)void,
ObtainSemaphoreList(*SignalSemaphore_tss)void,
Procure(*Semaphore_tsm;*Message_tbidMessage)bool,
ReleaseSemaphore(*SignalSemaphore_tss)void,
ReleaseSemaphoreList(*SignalSemaphore_tss)void,
RemSemaphore(*SignalSemaphore_tss)void,
Vacate(*Semaphore_tsm)void;