home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!pepper.Eng.Sun.COM!cmcmanis
- From: cmcmanis@pepper.Eng.Sun.COM (Chuck McManis)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: HELP!!!!
- Date: 31 Dec 1992 08:27:12 GMT
- Organization: Sun
- Lines: 22
- Distribution: global
- Message-ID: <lk5bn0INN3nl@exodus.Eng.Sun.COM>
- References: <BzwyMw.2s0@ccu.umanitoba.ca>
- NNTP-Posting-Host: pepper
- Keywords: Lattice C
-
- In article <BzwyMw.2s0@ccu.umanitoba.ca> umbadiu0@ccu.umanitoba.ca (Ted Babiuk) writes:
- >HOW DO I PASS THE VIEWPORT ADDRESS TO THE NEWLY CREATED TASK???????
-
- Have your newly created task open a message port, and wait for the parent
- to send it the viewport address. Something like this works for my uemacs
- hack :
- parent:
- CreatePort("mainport",...);
- CreateChildProcess(...);
- Now as soon as its ready, it will signal us on our
- port...
- Wait(mainport);
- Findport("ChildsPort");
- PutMsg(ChildsPort, "Heres my viewport address");
- ...
- Simple rendesvous protocol. Note you'll have to fill in the appropriate
- message structures etc.
-
- --
- --Chuck McManis Mr. NIS+ Sunsoft
- uucp: {anywhere}!sun!cmcmanis BIX: <none> Internet: cmcmanis@Eng.Sun.COM
- These opinions are my own and no one elses, but you knew that didn't you.
-