Messages in this thread |  | | Subject | Re: Adaptec AIC7XXX v 6.0.6 BETA Released | Date | Thu, 14 Dec 2000 17:56:21 +0000 (GMT) | From | Alan Cox <> |
| |
> I'm aware of the difference. I only mentioned "curproc" as an example of > similar brokeness that has less of a chance of catching the uninitiated. > What about "curtask" or "curthread"?
Its called current. We write a lot of current->state type things where it makes a lot of sense. Being a define is ugly because it hits struct fields. Being a global is sane. Its also something that is inbuilt into every driver and every book or article on linux driver/kernel stuff. Changing it would be extremely bad.
Alan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |