plugin: Added plugin_thread_create().
authorSebastian Harl <sh@tokkee.org>
Fri, 3 Feb 2012 13:57:05 +0000 (14:57 +0100)
committerSebastian Harl <sh@tokkee.org>
Fri, 3 Feb 2012 14:04:30 +0000 (15:04 +0100)
commit81346b256c86c3c16b1cfa8a8aac895c5c5e17cd
tree96a6f9fa7551dfd4b37f2cbd4ccb9f487a79bd74
parentbdbde949ad0bd244574efcec596675e1ef889c43
plugin: Added plugin_thread_create().

This function is a wrapper around pthread_create() which copies the plugin
context to the new thread. Else, that information would be lost.
src/plugin.c
src/plugin.h