[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thread::detach bug
From: |
Ittay Freiman |
Subject: |
Thread::detach bug |
Date: |
08 Jan 2003 14:02:22 +0200 |
if i call Thread::detach, the thread is created in joinable mode, and a
line after pthread_detach is called. however, if the threads are short
lived, or the system is loaded, this line may execute after the thread
has finished its run, destroyed itself (in final(), as recommended in
the documentation) and therefore its resources are lost.
--
Ittay Freiman <address@hidden>
Qlusters Inc.
- Thread::detach bug,
Ittay Freiman <=