[committed hurd] libports: avoid acquiring global lock in message dispatch

2015-02-17 Thread Justus Winter
* libports/interrupt-operation.c (ports_S_interrupt_operation): Update `cancel_threshold' using atomic operations. * libports/manage-multithread.c (internal_demuxer): Avoid taking the lock. * libports/ports.h (struct port_info): Mention that one needs atomic operations to access `cancel_threshold'.

Re: Server delegation (fsys_forward)

2015-02-17 Thread Samuel Thibault
Hello, Justus Winter, le Sat 14 Feb 2015 01:21:16 +0100, a écrit : > I was wondering what you think about the server delegation mechanism. > What are the pros or the original motivation (memory footprint > maybe?), what are the cons (reduced robustness?). I don't know the initial intention, so I'

Static binaries and nss (dlopen actually)

2015-02-17 Thread Samuel Thibault
Hello, Static binaries currently can't make use of nss functions (or more generally really use dlopen-ed libraries). What happens is that when the nss plugin library gets loaded, e.g. /lib/i386-gnu/libnss_files.so.2, by dependency libc.so gets loaded, i.e. a *second* libc (the first being the one

Re: [committed mig] Do not generate code dereferencing type-punned pointers

2015-02-17 Thread David Michael
On Sun, Feb 15, 2015 at 11:09 AM, Justus Winter <4win...@informatik.uni-hamburg.de> wrote: > * utils.c (WriteFieldDeclPrim): Generate a union with an additional > pointer field for variable-length arrays. This makes GDB's awk script go haywire because it doesn't know how to deal with unions. The