home *** CD-ROM | disk | FTP | other *** search
- Path: ifi.uio.no!usenet
- From: ludvigp@ifi.uio.no (Ludvig Pedersen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Qblit intereference again
- Date: 2 Mar 1996 16:36:18 GMT
- Organization: Dept. of Informatics, University of Oslo, Norway
- Message-ID: <598.6635T987T401@ifi.uio.no>
- References: <4gb6om$104@sunsystem5.informatik.tu-muenchen.de>
- <4gg00a$gqm@oreig.uji.es> <4gj1vq$f9c@sunsystem5.informatik.tu-muenchen.de>
- <871.6628T745T276@ifi.uio.no> <4h4djq$le8@sunsystem5.informatik.tu-muenchen.de>
- NNTP-Posting-Host: gymir.ifi.uio.no
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
-
- >|> You get lockups because you don't send a Signal in the CleanUp routine.
-
- >I set a global var.
- >Why should not sending a singal cause a lock of blitter, global for all tasks
- >? I never heard that I _must_ signal someone.
-
- You can signal to yourself. :) Anyway you don't have to send a signal.
- The important thing is that you don't busy-wait for the QBlit to finish
- with the CPU.
-
- Like in C:
-
- while(!BlitterIsDone);
-
- or in ASM:
-
- .Wait:
- tst BlitterIsDone
- beq .Wait
-
- That is NO-NO. :-)
-
-
- <sb>Ludde - Amiga Demo Coder
- <sb>Virtual Reality & Official Be developer
- <sb>ludvigp@ifi.uio.no
-
-