Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!olivea!bbn.com!rmitchel From: rmitchel@bbn.com (Rob Mitchell) Newsgroups: comp.sys.mac.programmer Subject: Can I/O Completion routine call 'GetRequest'?? Keywords: AppleTalk Message-ID: <63618@bbn.BBN.COM> Date: 9 Apr 91 18:10:22 GMT Sender: news@bbn.com Distribution: comp Lines: 32 I've created a list of 20 parameter blocks and queued them into a pseudo "free" list (at the start of my program). Each has a "state" of FREE. I call ATP's 'GetRequest' asynchronously once using a globally created param block (should it really be a global or one of the "free" ones?). When Mac receives a TReq, my I/O Completion routine assigns reg. A0 (which contains address of current param block) to local variable and set param's "state" to INCOMING. What I need to do now is queue another 'GetRequest' from my I/O Completion routine. Can I call I use a different "free" element and make the 'GetRequest' call from my I/O Completion routine? I'm not allocating/moving any memory, right? GetRequest should just assign a bunch of pointers, right? It probably doesn't move or allocate any memory, right?? How else can I have at least one 'GetRequest' always outstanding at *any* given time????? Thanks in advance!!!! Rob Mitchell Advanced Simulation Division Unix & Macintosh Engineer BBN Systems & Technologies Internet: rmitchel@vax.bbn.com 33 Moulton Street MS: 8/C Primary Dwelling: 617-873-4041 Cambridge, MA 02138 Secondary Dwelling: 617-873-4071 FAX: 617-873-4315 These opinions are mine and mine only. They do not represent BBNs' opinions.