1d54cfbdroberto/*
2d54cfbdroberto * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
3d54cfbdroberto * Copyright (C) 2000, 2001  Internet Software Consortium.
4d54cfbdroberto *
5d54cfbdroberto * Permission to use, copy, modify, and/or distribute this software for any
6d54cfbdroberto * purpose with or without fee is hereby granted, provided that the above
7d54cfbdroberto * copyright notice and this permission notice appear in all copies.
8d54cfbdroberto *
9d54cfbdroberto * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10d54cfbdroberto * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11d54cfbdroberto * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12d54cfbdroberto * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13d54cfbdroberto * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14d54cfbdroberto * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15d54cfbdroberto * PERFORMANCE OF THIS SOFTWARE.
16d54cfbdroberto */
17d54cfbdroberto
18d54cfbdroberto/* $Id: thread.h,v 1.6 2007/06/19 23:47:18 tbox Exp $ */
19d54cfbdroberto
20d54cfbdroberto#ifndef ISC_THREAD_H
21d54cfbdroberto#define ISC_THREAD_H 1
22d54cfbdroberto
23d54cfbdroberto#include <isc/lang.h>
24d54cfbdroberto#include <isc/result.h>
25d54cfbdroberto
26d54cfbdrobertoISC_LANG_BEGINDECLS
27d54cfbdroberto
28d54cfbdrobertovoid
29d54cfbdrobertoisc_thread_setconcurrency(unsigned int level);
30d54cfbdroberto
31d54cfbdroberto#define isc_thread_self() ((unsigned long)0)
32d54cfbdroberto
33d54cfbdrobertoISC_LANG_ENDDECLS
34d54cfbdroberto
35d54cfbdroberto#endif /* ISC_THREAD_H */
36