[vlc-devel] vlc_thread_create & arguments

Karen debugvlc at yahoo.com
Thu Jun 15 12:14:52 CEST 2006


Hello!

I am not sure that my post really belongs to this mailing list but it seems
more suitable than vlc user's mailing list. I'm new to VLC and want to add
additional functionality. I wrote a function that I want to run in a separate
thread. The function accepts two arguments, like:

void newfunction( int a, int b )
{
...
}

VLC documentation says that vlc_thread_create() is wrapper used to create a
thread. But as far as I see it does not accept arguments that should be passed
to a function (like in pthread_create()). How can I pass arguments to a
function when I create a thread with vlc_thread_create?

Thanks,
Karen

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list