Re: Device names in /proc/mounts

2011-07-30 Thread Corinna Vinschen
On Jul 30 00:52, Christopher Faylor wrote: > On Fri, Jul 29, 2011 at 10:15:56PM +0200, Corinna Vinschen wrote: > >On Jul 29 15:34, Schwarz, Konrad wrote: > >> > > Can you answer the following question: > >> > > > >> > > Given a volume label, how does one figure out where the > >> > corresponding

Re: 1.7.10s 20110729 - problem listing services in /proc

2011-07-30 Thread Corinna Vinschen
On Jul 30 14:44, jojelino wrote: > Breakpoint 2, fhandler_registry::close (this=0x612cba5c) > at /tmp/winsup/winsup/cygwin/fhandler_registry.cc:856 > 856 cfree (value_name); > 10: this->value_name = 0x612cb374 L"services" > (gdb) > Continuing. > > 0x612cba5c->value_name = 0 > 0x612cb

Re: Pthread error?

2011-07-30 Thread Jan Chludzinski
> pthread_getthreadid_np is a non-standard IBM extension. You won't find > it in the POSIX specs. Does Cygwin support the full POSIX pthread spec? ---Jan -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.

Re: Pthread error?

2011-07-30 Thread Corinna Vinschen
On Jul 30 05:52, Jan Chludzinski wrote: > > pthread_getthreadid_np is a non-standard IBM extension. You won't find > > it in the POSIX specs. > > Does Cygwin support the full POSIX pthread spec? That would be nice, but, no, not yet. See http://cygwin.com/cygwin-api/compatibility.html In the ne

Re: Portable shell code between Cygwin and Linux

2011-07-30 Thread Andrey Repin
Greetings, Corinna Vinschen! >> For every shell code that I write, I'd like it to be portable both to Cygwin >> on Windows, and to Ubuntu Linux for example. >> >> It's kinda possible, but am blocked with such a use case: >> >> alias vpnup='exec sudo openvpn --config ~/config/client.vpn --writepi

Re: 1.7.10s 20110729 - problem listing services in /proc

2011-07-30 Thread Christopher Faylor
On Sat, Jul 30, 2011 at 10:21:30AM +0200, Corinna Vinschen wrote: >On Jul 30 14:44, jojelino wrote: >> Breakpoint 2, fhandler_registry::close (this=0x612cba5c) >> at /tmp/winsup/winsup/cygwin/fhandler_registry.cc:856 >> 856 cfree (value_name); >> 10: this->value_name = 0x612cb374 L"se

Re: Slow performance Win7/64

2011-07-30 Thread Christopher Faylor
On Fri, Jul 29, 2011 at 09:06:45AM -0400, Christopher Faylor wrote: >On Fri, Jul 29, 2011 at 12:52:47PM +, Heiko Elger wrote: >>Hello, >> >>Corinna Vinschen writes: >>> >>> The slowdown of the code was the result of a patch which was supposed >>> to fix a potential race condition. Jojelino's

Re: Slow performance Win7/64

2011-07-30 Thread Christopher Faylor
On Sat, Jul 30, 2011 at 05:09:08PM -0400, Christopher Faylor wrote: >On Fri, Jul 29, 2011 at 09:06:45AM -0400, Christopher Faylor wrote: >>On Fri, Jul 29, 2011 at 12:52:47PM +, Heiko Elger wrote: >>>Hello, >>> >>>Corinna Vinschen writes: The slowdown of the code was the result of a p

Re: Slow performance Win7/64

2011-07-30 Thread Daniel Colascione
On 7/30/11 2:09 PM, Christopher Faylor wrote: > I've checked in a change which uses QueueUserAPC to create threads like > the signal thread. As everyone has noted this seems to have a salutory > effect on the OP's test case. > > I don't entirely understand why the code which already existed in Cy