lkml.org 
[lkml]   [2005]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Illegal use of reserved word in system.h
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 <kazrak+kernel@cesmail.net>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-20 02:18    [from the cache]
©2003-2011 Jasper Spaans