/*====================================================================*/ /* This software is delivered "as-is", with no warranties */ /* expressed or implied. This software is not supported by IBM. */ /*====================================================================*/ /* (C) COPYRIGHT International Business Machines Corp. 2001 */ /* All Rights Reserved */ /* */ /* US Government Users Restricted Rights - Use, duplication or */ /* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /*====================================================================*/ #include #include #include void unbind_thread() { /* usleep(10000); */ if (bindprocessor (BINDTHREAD, thread_self(),PROCESSOR_CLASS_ANY)) { printf ("unbindme: bindprocessor failed\n"); exit(); } }