about summary refs log tree commit diff
path: root/linuxthreads
Commit message (Collapse)AuthorAgeFilesLines
...
* Update.Ulrich Drepper2000-06-102-0/+49
| | | | * joinrace.c: New file.
* Update.Ulrich Drepper2000-06-103-2/+3
| | | | * manager.c (pthread_handle_free): Likewise.
* Update.Ulrich Drepper2000-06-104-3/+20
| | | | | | | | | | | | 2000-06-10 Ulrich Drepper <drepper@redhat.com> * pthread.c (__pthread_create_2_1): Optimize a bit. * internals.h (invalid_handle): Also test for p_terminated != 0. (nonexisting_handle): New function. Same as old invalid_handle. * join.c (pthread_join): Use nonexisting_handle instead of invalid_handle to test for acceptable thread handle. Reported by Permaine Cheung <pcheung@cygnus.com>.
* Update.Ulrich Drepper2000-06-091-0/+3
| | | | * sysdeps/i386/Dist: Add bp-asm.h.
* Update.Ulrich Drepper2000-06-091-0/+3
| | | | | | * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use defaultdir variable instead of "/var/shm" everywhere. (defaultdir): Change to /dev/shm/.
* (__timer_thread_queue_timer): Correct handling of matching variable.Ulrich Drepper2000-06-091-3/+3
|
* (main): Rewrite initializers to avoid warnings.Ulrich Drepper2000-06-091-12/+16
|
* Update.Ulrich Drepper2000-06-092-4/+6
| | | | | * sysdeps/pthread/timer_routines.c (__timer_thread_queue_timer): Be prepared for empty timer list.
* Update.Ulrich Drepper2000-06-092-1/+8
| | | | | * sysdeps/pthread/timer_create.c (timer_create): Correct names of CPUTIME clock ID. Add support for thread clocks.
* Update.Ulrich Drepper2000-06-092-2/+5
| | | | | * sysdeps/pthread/posix-timer.h (timer_ptr2id): Operands in subtraction were switched.
* Update.Ulrich Drepper2000-06-082-1/+4
| | | | | * sysdeps/pthread/timer_routines.c (init_module): Use THREAD_MAXNODES threads.
* Update.Ulrich Drepper2000-06-084-10/+51
| | | | | | | | | | * sysdeps/pthread/posix-timer.h (struct timer_node): Add creator_pid. * sysdeps/pthread/timer_create.c: Fill in creator_pid. * sysdeps/pthread/timer_routines.c (thread_expire_timer): Send signal with sigqueueinfo is this system call is available. * sysdeps/pthread/timer_create.c (timer_create): Allow CLOCK_CPUTIME if _POSIX_CPUTIME is defined.
* Update.Ulrich Drepper2000-06-0811-0/+1289
| | | | | | | | | | | | | | | | | | | * sysdeps/pthread/Makefile: New file. Add rules to build timer functionality. * sysdeps/unix/sysv/linux/bits/local_lim.h: Add TIMER_MAX. 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net> * sysdeps/pthread/posix-timer.h: New file. * sysdeps/pthread/timer_create.c: New file. * sysdeps/pthread/timer_delete.c: New file. * sysdeps/pthread/timer_getoverr.c: New file. * sysdeps/pthread/timer_gettime.c: New file. * sysdeps/pthread/timer_routines.c: New file. * sysdeps/pthread/timer_settime.c: New file. * sysdeps/pthread/tst-timer.c: New file. 2000-06-08 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2000-06-082-3/+27
| | | | | | | 2000-06-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/local_lim.h: Remove OPEN_MAX and LINK_MAX definitions if necessary.
* Update.Ulrich Drepper2000-06-075-56/+186
| | | | | | | 2000-06-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Update.
* Update.Ulrich Drepper2000-06-043-2/+8
| | | | | | | 2000-06-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh if -ffast-math.
* * sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks. Andreas Jaeger2000-06-034-8/+156
| | | | | | | | | | * sysdeps/sparc/sparc32/sparcv9/pspinlock.c: New. * sysdeps/sparc/sparc64/pspinlock.c: Implement spinlocks. 2000-06-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/pspinlock.c: Implement spinlocks. * sysdeps/sparc/sparc32/sparcv9/pspinlock.c: New. * sysdeps/sparc/sparc64/pspinlock.c: Implement spinlocks.
* * sysdeps/mips/pspinlock.c: Implement spinlocks.Andreas Jaeger2000-05-312-4/+34
| | | | | | 2000-05-31 Andreas Jaeger <aj@suse.de> * sysdeps/mips/pspinlock.c: Implement spinlocks.
* Update.Ulrich Drepper2000-05-301-1/+0
|
* Update.Ulrich Drepper2000-05-282-1/+2
| | | | | | | 2000-05-04 Andreas Jaeger <aj@suse.de> * string/string.h: Remove __strdup prototype, it's not needed in this file anymore.
* Update.Ulrich Drepper2000-05-285-9/+149
| | | | * posix/Makefile (tests): Add tst-fork.
* Update.Ulrich Drepper2000-05-251-0/+27
| | | | | | | | | | | | | 2000-05-22 Andreas Jaeger <aj@suse.de> * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c, CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c. * manual/math.texi (FP Function Optimizations): Document gcc -ffast-math behaviour with mathinlines. * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline functions unless -ffast-math is given to gcc.
* Update.Ulrich Drepper2000-05-2522-116/+723
| | | | | | | 2000-05-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf, __sincosl): Guard with __USE_GNU.
* Update.Andreas Jaeger2000-05-241-0/+4
| | | | | * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double words.
* Update.Andreas Jaeger2000-05-241-2/+3
| | | | | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS): Define it for newer kernels.
* Update.Andreas Jaeger2000-05-212-0/+5
| | | | | | | | | | | | | | | | | 2000-05-20 2000 H.J. Lu <hjl@gnu.org> * resolv/res_libc.c (_res): Initialize _sock to -1. 2000-05-18 Jakub Jelinek <jakub@redhat.com> * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie. (fopencookie@@GLIBC_2.2): New. (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New. (fopencookie@GLIBC_2.0): New. * libio/Versions: Add fopencookie to GLIBC_2.2. * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. Closes PR libc/1731.
* 2000-05-13 Jakub Jelinek <jakub@redhat.com>Andreas Jaeger2000-05-152-0/+5
| | | | | | | | | | | | | | | * elf/soinit.c (__libc_global_ctors): Move __pthread_initialize_minimal call out of HAVE_DWARF2_* defines. * resolv/resolv.h (__res_state): Added __attribute__((const)). (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as variable, don't define it to __res_state call. 2000-05-13 Jakub Jelinek <jakub@redhat.com> * internals.h (__RES_PTHREAD_INTERNAL): Define. 2000-05-13 Jakub Jelinek <jakub@redhat.com> * internals.h (__RES_PTHREAD_INTERNAL): Define.
* Update.Ulrich Drepper2000-05-085-8/+65
| | | | | | | | | 2000-05-07 H.J. Lu <hjl@gnu.org> * csu/initfini.c: Moved to .... * sysdeps/generic/initfini.c: ...here. * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
* Update.Ulrich Drepper2000-05-071-0/+21
| | | | | | | | | (ucs4_internal_loop): Likewise. (ucs4_internal_loop_unaligned): Likewise. (internal_ucs4le_loop): Likewise. (internal_ucs4le_loop_unaligned): Likewise. (ucs4le_internal_loop): Likewise. (ucs4le_internal_loop_unaligned): Likewise.
* Update.Ulrich Drepper2000-05-075-7/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-06 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform returned != __GCONV_OK, there is nothing to clean up. 2000-05-06 Bruno Haible <haible@clisp.cons.org> * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and OUTPUT_CHARSET environment variables. 2000-05-06 Andreas Jaeger <aj@suse.de> * sysdeps/generic/dl-cache.h (struct file_entry_new): New. (struct cache_file_new): New. (struct file_entry): New (moved from cache.c). (struct cache_file): New (moved from cache.c). * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out from _dl_load_cache_lookup. (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle the different cache formats. New variable cache_new for new format. * elf/ldconfig.h: Change according to changes in cache.c and ldconfig.c; remove cache_libcmp; add opt_format. * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove stuff that's defined in those headers. Add hwcap to struct lib_entry. (opt_format): New variable to select cache format. (options): Add format parameter. (is_hwcap): New function. (path_hwcap): New function. (parse_opt): Handle new format parameter. (search_dir): Handle hwcap, search also subdirectories with hwcap. * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since ldconfig is part of glibc. Include dl-cache.h and remove stuff that's defined there. (struct cache_entry): Add new member hwcap. (print_entry): Print hwcap, cleanup a bit. (print_cache): Print new and old formats. (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap. (save_cache): Save new and old formats. (add_to_cache): Handle hwcap. * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here... * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here. * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here... * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here. * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here... * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here. 2000-05-05 Bruno Haible <haible@clisp.cons.org> * intl/dcigettext.c (alignof): New macro. (_nl_find_msg): Use it instead of __alignof__. Pass correct output buffer length to __gconv/iconv. If malloc (freemem_size) fails, set freemem_size to 0. 2000-05-05 Bruno Haible <haible@clisp.cons.org> * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch return value.
* 2000-05-05 Andreas Jaeger <aj@suse.de>Andreas Jaeger2000-05-052-1/+6
| | | | | | | | | * sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Correct test for ourselves. 2000-05-05 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Correct test for ourselves.
* Update.Ulrich Drepper2000-05-055-8/+32
| | | | | * elf/Makefile (distribute): Add dl-lookupcfg.h. * sysdeps/ia64/Dist: New file.
* Update.Ulrich Drepper2000-05-042-2/+7
| | | | | | | | | | | 2000-05-03 Ulrich Drepper <drepper@redhat.com> * string/bits/string2.h: Declare __strdup and __strndup if necessary. Reported by Bruno Haible. 2000-04-29 Bruno Haible <haible@clisp.cons.org> * manual/arith.texi: Remove @w from @itemize.
* Update.Ulrich Drepper2000-04-274-10/+30
| | | | | | | | | | | | 2000-04-27 Ulrich Drepper <drepper@redhat.com> * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal if this function is available. * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for all values. <haible@clisp.cons.org>.
* Update.Ulrich Drepper2000-04-252-2/+7
| | | | | | | 2000-04-25 Ulrich Drepper <drepper@redhat.com> * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not setting the state to GMON_PROF_BUSY.
* Update.Ulrich Drepper2000-04-252-31/+1
| | | | * pthread.c: Remove special treatement for interrupt handlers on x86.
* Update.Ulrich Drepper2000-04-254-11/+17
| | | | | | | | | 2000-04-24 Ulrich Drepper <drepper@redhat.com> * manager.c (pthread_free): Use FREE_THREAD not FREE_THREAD_SELF. * sysdeps/i386/useldt.h: Use "q" constraint instead of "r" where necessary. * sysdeps/i386/i686/pt-machine.h: Include "../useldt.h".
* Update.Ulrich Drepper2000-04-242-2/+7
| | | | | | | 2000-04-24 Mark Kettenis <kettenis@gnu.org> * join.c (pthread_exit): Set p_terminated after reporting the termination event instead of before.
* Update.Ulrich Drepper2000-04-211-0/+9
| | | | | | | | 2000-04-20 Ulrich Drepper <drepper@redhat.com> * manual/stdio.texi: Give advise about handling error when using stream functions. Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
* Update.Ulrich Drepper2000-04-212-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-19 Jakub Jelinek <jakub@redhat.com> * locale/programs/ld-ctype.c (ctype_output): Set size of the idx field to nelems * sizeof (uint32_t). * locale/programs/ld-address.c (address_output): Align word fields properly. * locale/programs/ld-monetary.c (monetary_output): Likewise. Don't restart idx pointers to idx end at the duo_int_curr_symbol field. Avoid giving arbitrary garbage in the crncystr field. Use sizeof(uint32_t) instead of 4 for len in uno_valid_from, uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate fields. * locale/programs/ld-numeric.c (numeric_output): Likewise. Don't restart idx pointers to idx end at the decimal_point_wc field. * locale/programs/ld-time.c (time_output): week_1stday should be word, not byte. Align it properly. 2000-04-19 H.J. Lu <hjl@gnu.org> * csu/gmon-start.c (_start): Declared as "extern void". (etext): Likewise. 2000-04-18 Andreas Jaeger <aj@suse.de> * manual/install.texi (Running make install): Don't mention utmpd anymore. 2000-04-18 Andreas Jaeger <aj@suse.de> * linuxthreads/Versions: Use ld instead of ld.so. * elf/Makefile (ld-map): Use ld.map. * Versions.def: Use ld instead of ld.so. * elf/Versions: Likewise. * sysdeps/mach/hurd/Versions: Likewise.
* Update.Ulrich Drepper2000-04-181-0/+5
| | | | | | | * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h (struct sigcontext): Remove the typedef keyword. 2000-04-18 Jakub Jelinek <jakub@redhat.com>
* Update.Ulrich Drepper2000-04-184-6/+21
| | | | | | | | | 2000-04-18 Ulrich Drepper <drepper@redhat.com> * posix/Makefile (tests): Add tst-getaddrinfo. * posix/tst-getaddrinfo.c: New file. and setresuid from sysdep_routines.
* Update.Ulrich Drepper2000-04-182-1/+7
| | | | * manual/sysinfo.texi: Document that umount2 is not widely available.
* Update.Ulrich Drepper2000-04-172-4/+6
| | | | | | 2000-04-17 Ulrich Drepper <drepper@redhat.com> * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
* Update.Ulrich Drepper2000-04-163-34/+10
| | | | | | | | | 2000-04-16 Ulrich Drepper <drepper@redhat.com> * pthread.c: Correct long-time braino. We never set SA_SIGINFO and therefore don't need the _rt versions of the signal handlers. * internals.h: Declare __pthread_yield.
* Update.Ulrich Drepper2000-04-164-0/+22
| | | | | * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and only fall back on using Linux.
* Update.Ulrich Drepper2000-04-153-8/+19
| | | | | | | | | | | | | | | | | | | | * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode. Before testing versions check that we actually loaded the object and whether we are in trace mode. If not loaded during tracing don't test versions in this object. (_dl_check_all_versions): Take new parameter and pass to _dl_check_map_versions. * sysdeps/generic/ldsodefs.h: Update prototypes for _dl_check_all_versions and _dl_check_map_versions. * elf/rtld.c (struct version_check_args): Add dotrace. (version_check_doit): Pass args->dotrace to _dl_check_all_versions. (dl_main): Pass info about trace mode to version_check_doit. * elf/dl-open.c (dl_open_worker): Pass zero as new argument to _dl_check_all_versions. * manual/users.texi (XPG Functions): Document utmpxname, getutmp, and getutmpx. Patch by Bryan Henderson <bryanh@giraffe-data.com>.
* Update.Ulrich Drepper2000-04-153-9/+50
| | | | | | | * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in compat_symbol call for old adjtime. * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
* Update.Ulrich Drepper2000-04-156-267/+166
| | | | | * sysdeps/alpha/dl-machine.h (RTLD_START):Rewrite for new init function interface. Patch by Richard Henderson <rth@cygnus.com>.
* Update.Ulrich Drepper2000-04-155-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-15 Ulrich Drepper <drepper@redhat.com> * posix/Makefile (headers): Add spawn.h. (distribute): Add spawn_int.h. (routines): Add spawn_faction_init, spawn_faction_destroy, spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2, spawnattr_init, spawnattr_destroy, spawnattr_getdefault, spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags, spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni. * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init, posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose, posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2, posix_spawnattr_init, posix_spawnattr_destroy, posix_spawnattr_getdefault, posix_spawnattr_setdefault, posix_spawnattr_getflags, posix_spawnattr_setflags, posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn, and posix_spawnp. * posix/spawn.c: New file. * posix/spawn.h: New file. * posix/spawn_faction_addclose.c: New file. * posix/spawn_faction_adddup2.c: New file. * posix/spawn_faction_addopen.c: New file. * posix/spawn_faction_destroy.c: New file. * posix/spawn_faction_init.c: New file. * posix/spawn_int.h: New file. * posix/spawnattr_destroy.c: New file. * posix/spawnattr_getdefault.c: New file. * posix/spawnattr_getflags.c: New file. * posix/spawnattr_getpgroup.c: New file. * posix/spawnattr_getschedparam.c: New file. * posix/spawnattr_getschedpolicy.c: New file. * posix/spawnattr_getsigmask.c: New file. * posix/spawnattr_init.c: New file. * posix/spawnattr_setdefault.c: New file. * posix/spawnattr_setflags.c: New file. * posix/spawnattr_setpgroup.c: New file. * posix/spawnattr_setschedparam.c: New file. * posix/spawnattr_setschedpolicy.c: New file. * posix/spawnattr_setsigmask.c: New file. * posix/spawni.c: New file. * posix/spawnp.c: New file. * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.