Hello, Are there any problems with the pthread_rwlock routines ? I see some prototype warning messages on compilation but the programme seems to link OK and, as far as I can tell with a multi-threaded application, seems to work OK.
Any recommendations for checking the various possible patterns of mutual interaction between threads in an MT application ??
Using gcc 4.1.1 and libc-2.3.5 I am not familiar with "pthread_rwlock". The locks are set using
On Sun, 09 Jul 2006 16:27:30 +0100 peter burden <peter.burden@gmail.com> wrote: pthread_mutex_lock and released using pthread_mutex_unlock. You should be using NPTL threads. Are you including #include <pthread.h> Additionally, threads have different behavior on single vs. multi-processors. And remember, that some Intel chips also have a feature called hyper-threading which effectively simulates a second CPU. Please post the warning messages. You should not have any prototype warnings unless you are passing the wrong type of parameters. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9