Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!uwvax!gumby!g-cheng
From: g-cheng@gumby.WISC.EDU (Chin-long cheng)
Newsgroups: comp.sys.amiga
Subject: How to gain Exclusive Right to the Serial Port?
Message-ID: <944@gumby.WISC.EDU>
Date: Mon, 13-Jul-87 10:18:57 EDT
Article-I.D.: gumby.944
Posted: Mon Jul 13 10:18:57 1987
Date-Received: Tue, 14-Jul-87 03:10:51 EDT
Organization: U of Wisconsin CS Dept
Lines: 17
Keywords: amiga serial resources parallel


	After reading the posting of Philip Lindsay (thanks) on how to access
the paralle port, I was able to convert it to gain access the
serial port resource. However, there seems to be one problem:
After some program finishes using the serial device(like the aux: handler),
the MR_SERIALPORT is not automatically freed, resulting in a failure
when my program tries to gain access.
	My goal is to have multiple programs co-exist under the multi-tasking
enviornment, each gaining the access to the serial port only when necessary.
So here is my question: Is there any way to force the serial device to
release the access on MR_SERIALPORT when it is not serving anybody?
Thanks in advance,
clc
-- 
# ARPA: g-cheng@gumby.wisc.edu 
# CSNET: g-cheng%gumby.wisc.edu@csnet-relay
# UUCP: ...!{ihnp4,hplabs,seismo,topaz,etc.}!uwvax!gumby!g-cheng