home *** CD-ROM | disk | FTP | other *** search
- Path: vision.wonder.ca!usenet
- From: paulf@wonder.ca (paulf)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Exec Semaphores
- Date: 10 Jan 1996 20:53:52 GMT
- Organization: WCi Information Technology Division
- Message-ID: <390.6583T950T852@wonder.ca>
- NNTP-Posting-Host: paul.wonder.ca
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
- Does anyone know how the OS semaphores handle the following
- situation:
-
- Lock Shared from Task 1.
- Lock Exclusive From Task 2.
- Lock Shared from Task 3.
- Unlock from Task 1.
- ...
-
- Will the OS let Task 3 into it's critical section straight away,
- or will it stop it from entering until the exclusive lock from
- Task 2 is serviced? The autodocs don't mention what would happen
- in a case like this.
-
-