[PATCH] pmccabe2html C++ support

2008-10-12 Thread Giuseppe Scrivano
Hello, I added the possibility to have different functions with the same name to the pmccabe2html script, in this way it can be used on C++ source code too. Giuseppe diff --git a/ChangeLog b/ChangeLog index 9723875..96634f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-10-12 Giuse

condition variable implementation question

2008-10-12 Thread Bruno Haible
Hi Yoann, Ben, or anyone interested in threading, Is this comment right or wrong? In glibc's implementation of the wait and timed_wait methods for condition variables, after returning from the blocking call, first the bookkeeping in the condition variable is completed, then finally the lock is ac

Re: [PATCH]: update tls and lock tests, gl_cond_t WIN32 implementation

2008-10-12 Thread Bruno Haible
Yoann Vandoorselaere wrote: > > during this conversion an integer overflow could occur in at least 2 > > places > > (1. result->tv_sec = x->tv_sec - y->tv_sec > > 2. (res.tv_sec * 1000) + (res.tv_usec / 1000)). > > You might want to push your #1 changes up to the GLIBC team: the > ti

thread.c win32 tweak

2008-10-12 Thread Bruno Haible
On mingw, it's probably better to use the MSVCRT primitives for thread creation and termination, rather than the Win32 API ones. They provide an exception handler for C++ style exceptions in the created thread. 2008-10-12 Bruno Haible <[EMAIL PROTECTED]> Use msvcrt aware primitives for

Re: [PATCH]: update tls and lock tests, gl_cond_t WIN32 implementation

2008-10-12 Thread Yoann Vandoorselaere
Hi Bruno, Le dimanche 12 octobre 2008 à 00:16 +0200, Bruno Haible a écrit : > You wrote on 2008-09-18 > > and 2008-10-02 > : > > > provide a working implement

gnulib vs. glib threads

2008-10-12 Thread Bruno Haible
Here's a comparison between the threads implementations of gnulib (lib/glthread/*) and GNOME glib (glib-2.12.4/gthread/gthread*), especially the POSIX and Win32 implementation. General differences: - glib is better documented. - The glib implementation is separated into a platform-independent