OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [posix/] [libposix/] [include/] [posix/] [bits/] [uClibc_local_lim.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
/*
2
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
3
 *
4
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
5
 */
6
/*
7
 * Never include this file directly; use <unistd.h> instead.
8
 */
9
 
10
#ifndef _BITS_UCLIBC_LOCAL_LIM_H
11
#define _BITS_UCLIBC_LOCAL_LIM_H        1
12
 
13
/* This file works correctly only if local_lim.h is the NPTL version */
14
#if !defined PTHREAD_KEYS_MAX || defined TIMER_MAX
15
# error local_lim.h was incorrectly updated, use the NPTL version from glibc
16
#endif
17
 
18
/* This should really be moved to thread specific directories */
19
#if defined __UCLIBC_HAS_THREADS__
20
# define PTHREAD_THREADS_MAX    1024
21
# define TIMER_MAX              256
22
#endif
23
 
24
#ifndef __UCLIBC_HAS_THREADS__
25
# undef _POSIX_THREAD_KEYS_MAX
26
# undef PTHREAD_KEYS_MAX
27
# undef _POSIX_THREAD_DESTRUCTOR_ITERATIONS
28
# undef PTHREAD_DESTRUCTOR_ITERATIONS
29
# undef PTHREAD_STACK_MIN
30
# undef DELAYTIMER_MAX
31
#endif
32
 
33
#endif /* bits/uClibc_local_lim.h */

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.