On 01/07/2011 03:50 PM, Harry Van Haaren wrote:
Alas no, not really. Maybe someone else does.
I like the manual pages `man 3 pthread_create` and
`man pthread_mutex_init` - both do include "SEE ALSO" references as well
as example code.
As far as documentation with a bit of introduction goes: check out the
"Description" section of:
http://library.gnome.org/devel/glib/unstable/glib-Threads.html
http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.ht...
http://library.gnome.org/devel/glib/unstable/glib-Thread-Pools.html
There's been some glib-thread discussion on this list last July
(Subject: "Can someone add 2 features to Kluppe?" -
http://lists.linuxaudio.org/pipermail/linux-audio-dev/2010-July/028694.h...
) and I whipped up a small example demonstrating glib thread creation
and mutexes: http://rg42.org/_media/wiki/async-timer2.c
It's not annotated but may get you started.
best,
robin
--
Robin Gareus
web: http://gareus.org/ mail: robin@gareus.org
lab: http://citu.fr/ chat: xmpp:rgareus@ik.nu
Public Key at http://pgp.mit.edu/ http://gareus.org/public.asc
Fingerprint : 7107 840B 4DC9 C948 076D 6359 7955 24F1 4F95 2B42
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.