Function - Mark the thread as privileged with respect to kernel resources.
kern_return_t thread_wire (host_priv_t host_priv, thread_act_t thread, boolean_t wired);
The thread_wire function marks the thread as "wired". A "wired" thread is always eligible to be scheduled and can consume physical memory even when free memory is scarce. This property should be assigned to threads in the default page-out path. Threads not in the default page-out path should not have this property to prevent the kernel's free list of pages from being exhausted.