Mono Class Library: Mono.Posix.Syscall Overview | Members

Mono.Posix.Syscall.nice Method

Change the priority of the current process by given increment. [Edit]

public static int nice (int increment)

See Also

Mono.Unix.Native.Syscall.nice

Parameters

increment
a int [Edit]

Returns

a int. On success, zero is returned. On error, -1 is returned and System.Runtime.InteropServices.Marshal.GetLastWin32Error is set. [Edit]

Remarks

This member is obsolete. Please use Mono.Unix.Native.Syscall.nice instead.

Adds 'increment' to the priority of the calling task. Only a task with superuser privileges may specify a negative inc.

[Edit]

Requirements

Namespace: Mono.Posix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0