Csound Csound-dev Csound-tekno Search About

[Cs-dev] An oddity

Date2008-06-04 11:44
Fromjpff
Subject[Cs-dev] An oddity
The function in Top/threads.c 

PUBLIC void *csoundGetCurrentThreadId(void)
{
  pthread_t pthread = pthread_self();
  return &pthread;
}

is clearly wrong as it returns a local address.  What is it supposed
to do?

==John ffitch

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net