Destroy pthread_attr when we do not need it anymore.

pthread manual says it is safe to destroy them after they are used
with pthread_create: "If the attributes specified by attr are modified
later, the thread���s attributes shall not be affected."

SVN revision: 34937
This commit is contained in:
Gustavo Sverzut Barbieri 2008-06-28 15:29:57 +00:00
parent 0c351c3edd
commit d6b97fd852
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ evas_common_pipe_begin(RGBA_Image *im)
/* setup initial locks */
pthread_create(&(thinfo[i].thread_id), &attr,
evas_common_pipe_thread, &(thinfo[i]));
y = 0;