COMMENT @----------------------------------------------------------------------

	Copyright (c) GeoWorks 1989 -- All Rights Reserved

PROJECT:	PC GEOS
FILE:		sem.def

DECLARER:	Kernel

DESCRIPTION:
	This file defines semaphore routines.

	$Id: sem.def,v 1.1 97/04/04 14:24:23 newdeal Exp $

------------------------------------------------------------------------------@

SetDef	__SEM

StartKernel

global ThreadAllocSem:far
global ThreadFreeSem:far
global ThreadPSem:far
global ThreadVSem:far
global ThreadPTimedSem:far
global ThreadAllocThreadLock:far
global ThreadFreeThreadLock:far
global ThreadGrabThreadLock:far
global ThreadReleaseThreadLock:far

global THREADALLOCSEM:far
global THREADFREESEM:far
global THREADPSEM:far
global THREADVSEM:far
global THREADPTIMEDSEM:far
global THREADALLOCTHREADLOCK:far
global THREADFREETHREADLOCK:far
global THREADGRABTHREADLOCK:far
global THREADRELEASETHREADLOCK:far

SemaphoreError	etype	word
SE_NO_ERROR		enum	SemaphoreError
SE_TIMEOUT		enum	SemaphoreError
SE_PREVIOUS_OWNER_DIED	enum	SemaphoreError

EndKernel
