Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!decwrl!ucbvax!mtxinu!taniwha!paul From: paul@taniwha.UUCP (Paul Campbell) Newsgroups: comp.sys.mac.programmer Subject: Re: Interrupt level tasks Message-ID: <398@taniwha.UUCP> Date: 29 Jul 89 01:05:48 GMT References: <6081@hubcap.clemson.edu> Reply-To: paul@taniwha.UUCP (Paul Campbell) Organization: Taniwha Systems Design, Oakland Lines: 26 In article <6081@hubcap.clemson.edu> mikeoro@hubcap.clemson.edu (Michael K O'Rourke) writes: >Is there anyway to perform tasks that get move memory at the interrupt >level? For instance, i need to change some TE records, bring up a not safely >The reason i NEED to do it at interrupt level is that the information is >coming in over appletalk via asynch calls and if i don't process it right >away, it may get lost. I could buffer it to memory, but then i'd have to >create nodes in something like a linked list and this moves memory also. > >Anybody tried anything similiar and have some brilliant insights on the >idea? I did exactly this by making a linked list buffer in memory, you have to allocate the memory and put it on a free list when the program starts - you have to disable interrupts when the program manipulates the list. Paul -- Paul Campbell UUCP: ..!mtxinu!taniwha!paul AppleLink: D3213 "Free Market": n. (colloq.) a primitive fertility goddess worshipped by an obscure cult in the late 20th C. It's chief priest 'Dow Jones' was eventually lynched by an enraged populace during an economic downturn (early 21st C).