Re: Illegal use of reserved word in system.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 5/19/2005 23:10 +0000, J.A. Magallon wrote:
But the interesting part would be how to know at runtime on what processor I'm running. Will have to look at x86info...

This statement is semantically void. If you were given a hypothetical current_proc_id() function that would tell you, because a userland process can (and normally *will*) be rescheduled at any time from one processor to another, by the time the hypothetical function returns it's answer it may be incorrect. What use would that be?

--
Jeff Woods <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux