thr_multi_np.c revision 50476
150477Speter/*
240269Srnordier * Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
340326Srnordier * All rights reserved.
440326Srnordier *
540326Srnordier * Redistribution and use in source and binary forms, with or without
640326Srnordier * modification, are permitted provided that the following conditions
740326Srnordier * are met:
840326Srnordier * 1. Redistributions of source code must retain the above copyright
940404Srnordier *    notice, this list of conditions and the following disclaimer.
1040404Srnordier * 2. Redistributions in binary form must reproduce the above copyright
1140326Srnordier *    notice, this list of conditions and the following disclaimer in the
1248919Srnordier *    documentation and/or other materials provided with the distribution.
1348919Srnordier * 3. All advertising materials mentioning features or use of this software
1448919Srnordier *    must display the following acknowledgement:
1542480Srnordier *	This product includes software developed by John Birrell.
1642480Srnordier * 4. Neither the name of the author nor the names of any co-contributors
1740541Srnordier *    may be used to endorse or promote products derived from this software
1840541Srnordier *    without specific prior written permission.
1940269Srnordier *
2040269Srnordier * THIS SOFTWARE IS PROVIDED BY JOHN BIRRELL AND CONTRIBUTORS ``AS IS'' AND
2140269Srnordier * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2240269Srnordier * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2340269Srnordier * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2440269Srnordier * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2540269Srnordier * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2640269Srnordier * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2740269Srnordier * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2853134Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2953174Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3053134Sobrien * SUCH DAMAGE.
3153174Sobrien *
3240269Srnordier * $FreeBSD: head/lib/libkse/thread/thr_multi_np.c 50476 1999-08-28 00:22:10Z peter $
3340269Srnordier */
3440269Srnordier#include <string.h>
3540269Srnordier#ifdef _THREAD_SAFE
3640269Srnordier#include <pthread.h>
3740269Srnordier#include "pthread_private.h"
3840269Srnordier
3940269Srnordierint pthread_multi_np()
4040269Srnordier{
4140308Srnordier	/* Return to multi-threaded scheduling mode: */
4240269Srnordier	_thread_single = NULL;
4340269Srnordier	return(0);
4440269Srnordier}
4540269Srnordier#endif
4660821Sjhb