From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bd47d08679977ca X-Google-Attributes: gidfee84,public From: jfc@mit.edu (John F Carr) Subject: Re: mpsleep question Date: 1999/09/01 Message-ID: <7qiv2v$3i2@senator-bedfellow.MIT.EDU>#1/1 X-Deja-AN: 519679520 References: <7qf7jg$job$1@nnrp1.deja.com> Organization: Massachvsetts Institvte of Technology Newsgroups: comp.unix.osf.osf1 In article <7qf7jg$job$1@nnrp1.deja.com>, wrote: >1. First I heave interrupt priority to mask network device interrupt. >2. Second I call mpsleep function >3. Third when driver wake up, I do not know which interrupt >priority it is now. Is it the same as before heaving >interrupt priority or the same as before calling mpsleep? Before mpsleep returns it restores the interrupt priority in effect when it was called. You do not need to make a second call to the spl???() function. -- John Carr (jfc@mit.edu)