home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!funic!sauna.cs.hut.fi!news.cs.hut.fi!s37732v
- From: s37732v@snakemail.hut.fi (Markus Juhani Aalto)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Enough talk. FILE: server.c
- Date: 09 Jan 93 10:00:54 GMT
- Organization: Helsinki University of Technology, Finland
- Lines: 29
- Distribution: inet
- Message-ID: <S37732V.93Jan9120054@lk-hp-7.hut.fi>
- References: <C0IyF5.9Gv@usenet.ucs.indiana.edu> <38418@cbmvax.commodore.com>
- <C0JsA8.MIt@usenet.ucs.indiana.edu>
- NNTP-Posting-Host: lk-hp-7.hut.fi
- In-reply-to: shulick@navajo.ucs.indiana.edu's message of Fri, 8 Jan 1993 18:20:31 GMT
-
- In article <C0JsA8.MIt@usenet.ucs.indiana.edu> shulick@navajo.ucs.indiana.edu (Sam Hulick) writes:
-
- So Forbid() should be used before creating new message ports, and
- finding them? How's this revised version?
-
- ....code....
- Forbid();
- myport = FindPort("Foobar!");
- if (myport)
- {
- if (EasyRequest(NULL, &ereq[SERVER_RUNNING], NULL))
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- Don't call EasyRequest if you have Forbidden task switching. I don't
- know if its illegal but it certainly isn't very nice.
-
- > // Amiga 3000 ___ \ Sam Hulick: shulick@indiana.edu (NeXTmail OK!)
-
- --
-
-
- **************************************************************************
- * Markus Aalto | Helsinki University of Technology *
- * | *
- * EMail: s37732v@vipunen.hut.fi | Faculty of Electric Engineering *
- * Fax: 358-0-8746991 (Sometimes) | *
- * | Undergraduate in Computer Science *
- **************************************************************************
-
-