Date: Fri, 24 Jan 1997 02:54:07 -0600 From: Nanbor Wang <nw1@cs.wustl.edu> To: hackers@freebsd.org Subject: pthread problem in 2.2-BETA Message-ID: <199701240854.CAA26225@siesta.cs.wustl.edu>
next in thread | raw e-mail | index | archive | help
Greetings, Recently, I am working on porting ACE into FreeBSD. While playing with the pthread functions, there seems to be a problem in function "pthread_getspecific." In its man page, the function's prototype is void * pthread_getspecific(pthread_key_t key) However, in <pthread.h>, it is defined as, int pthread_getspecific __P((pthread_key_t, void **)); Seems to me that the one in the definition is correct (conforms with POSIX.) Unfortunately, after checking the source, in libc_r, it is written as defined in the <pthread.h>. Has anyone addressed this already? I realized that the pthread we currently have doesn't conform with the latest POSIX standard. It doesn't seem difficult to correct this "specific" problem. Any idea? _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Nanbor Wang <nw1@cs.wustl.edu> http://www.cs.wustl.edu/~nw1/ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701240854.CAA26225>