Hello,
I'm coding with pthreads, but the behavior of pthread_key_delete
is strange. When I use pthread_key_delete, and I do not wait for the
automatic deallocation of thread specific data, I receive a strange
warning:
Thread 8053800 has exited with leftover thread-specific data after \
4
On Sun, 7 Jan 2007, Daniel Molina Wegener wrote:
Hello,
I'm coding with pthreads, but the behavior of pthread_key_delete
is strange. When I use pthread_key_delete, and I do not wait for the
automatic deallocation of thread specific data, I receive a strange
warning:
Thread 8053800 has
On Sunday 07 January 2007 12:44, Daniel Eischen wrote:
[SNIP]
¿Is this a mistake in the code or a standard warning in
FreeBSD pthreads?
Yes, it looks like a buggy program...
The code bellow can be compiled with and do not use the
pthread_key_delete routine:
See the POSIX spec
3 matches
Mail list logo