2009/9/18 Michael Blizek <michi1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>: > Hi! > > On 14:45 Fri 18 Sep , Pei Lin wrote: > > ... > >> This problem is so weird i think. why u need do this check. And you >> design your functions and why not know >> the code run in which level ? linux is totally opensouce and >> transparent for programmers. > > He is programming a library which should be callable in both interrupt and non > interrupt context. > ISR require short simple and do fast.... most time it only do some work as set/check hardware register or set some flags. i don't think the things above make more sense. what's your opinion, michi? > -Michi > -- > programing a layer 3+4 network protocol for mesh networks > see http://michaelblizek.twilightparadox.com > > -- Best Regards Lin -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ