hey there,
I'm writing a plugin to log playback data (basically played songs) and that's working pretty well, but i'd like to do something like audioscrobbler, meaning log only after a number of seconds have been played (e.g. 30 seconds). My idea would be to spawn a thread for this.
What i haven't found is a way to pause the thread (or get it to wait for an event, or stop it for that matter).
Is there a way to do this with code? i guess "sending" an abort_callback would do the trick.
Is there another easy way to create threads and control them in a more "normal" way?
thanks
