mUPnP for C
thread_list.c File Reference
#include <mupnp/util/log.h>
#include <mupnp/util/thread.h>

Functions

mUpnpThreadListmupnp_threadlist_new ()
 
void mupnp_threadlist_delete (mUpnpThreadList *threadList)
 
bool mupnp_threadlist_start (mUpnpThreadList *threadList)
 
bool mupnp_threadlist_stop (mUpnpThreadList *threadList)
 

Function Documentation

◆ mupnp_threadlist_delete()

void mupnp_threadlist_delete ( mUpnpThreadList * threadList)

Destroy a thread list

Parameters
threadListThe thread list in question

◆ mupnp_threadlist_new()

mUpnpThreadList * mupnp_threadlist_new ( void )

Create a new thread list

Returns
Thread list

◆ mupnp_threadlist_start()

bool mupnp_threadlist_start ( mUpnpThreadList * threadList)

Start all threads in the thread list

Parameters
threadListThe thread list in question

◆ mupnp_threadlist_stop()

bool mupnp_threadlist_stop ( mUpnpThreadList * threadList)

Stop all threads in the thread list

Parameters
threadListThe thread list in question