Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] IThread.getPriority() returns int. Not all platforms use int to represent priority.

I'm curious, which platform(s?) returns non-numeric thread priorities? What 
does it(they?) use?

- Jared

On Thursday 10 January 2002 01:56 pm, you wrote:
> The plugin that I am creating connects to debug engines on various
> platforms.   Not all of them necessarily represent a thread's priority with
> a number.
>
> /**
>  * Returns the priority of this thread. The meaning of this
>  * number is operating-system dependent.
>  *
>  * @return thread priority
>  * @exception DebugException if this method fails.  Reasons include:
>  * <ul><li>Failure communicating with the VM.  The DebugException's
>  * status code contains the underlying exception responsible for
>  * the failure.</li>
>  */
> public int getPriority() throws DebugException;
>
> Could IThread.getPriority() return a String instead?
>
>
> _______________________________________________
> platform-debug-dev mailing list
> platform-debug-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-debug-dev


Back to the top